File tree 2 files changed +11
-31
lines changed
2 files changed +11
-31
lines changed Original file line number Diff line number Diff line change 14
14
- name : Set up Node
15
15
16
16
with :
17
- check-latest : true
18
- - name : Get yarn cache directory path
19
- id : yarn-cache-dir-path
20
- run : echo "::set-output name=dir::$(yarn cache dir)"
21
- - name : Cache dependencies and build outputs
22
- uses : actions/cache@v2
23
- id : yarn-cache
24
- with :
25
- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
26
- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
27
- restore-keys : |
28
- ${{ runner.os }}-yarn-
29
- - name : Check dependencies
30
- run : yarn --frozen-lockfile --check-files
31
- - name : Run tests
17
+ node-version : " lts/*"
18
+ cache : " yarn"
19
+ - name : Install dependencies
20
+ run : yarn
21
+ - name : Test
32
22
run : yarn test
Original file line number Diff line number Diff line change @@ -19,24 +19,14 @@ jobs:
19
19
- name : Set up Node
20
20
21
21
with :
22
- check-latest : true
23
- - name : Get yarn cache directory path
24
- id : yarn-cache-dir-path
25
- run : echo "::set-output name=dir::$(yarn cache dir)"
26
- - name : Cache dependencies and build outputs
27
- uses : actions/cache@v2
28
- id : yarn-cache
29
- with :
30
- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
31
- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
32
- restore-keys : |
33
- ${{ runner.os }}-yarn-
34
- - name : Check dependencies
35
- run : yarn --frozen-lockfile --check-files
36
- - name : Run tests
22
+ node-version : " lts/*"
23
+ cache : " yarn"
24
+ - name : Install dependencies
25
+ run : yarn
26
+ - name : Test
37
27
run : yarn test
38
28
- name : Release
39
29
env :
40
30
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41
31
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
42
- run : npx semantic-release
32
+ run : yarn dlx semantic-release
You can’t perform that action at this time.
0 commit comments