File tree 1 file changed +3
-16
lines changed
1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -18,25 +18,12 @@ jobs:
18
18
node-version : [16.x, 18.x, 20.x]
19
19
20
20
steps :
21
- - uses : actions/checkout@v2
21
+ - uses : actions/checkout@v3
22
22
- name : Use Node.js ${{ matrix.node-version }}
23
- uses : actions/setup-node@v1
23
+ uses : actions/setup-node@v3
24
24
with :
25
25
node-version : ${{ matrix.node-version }}
26
-
27
- # figure out the yarn cache directory
28
- - name : Get yarn cache directory path
29
- id : yarn-cache-dir-path
30
- run : echo "::set-output name=dir::$(yarn cache dir)"
31
-
32
- # cache the yarn data to speed up builds
33
- - uses : actions/cache@v2
34
- id : yarn-cache
35
- with :
36
- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
37
- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
38
- restore-keys : |
39
- ${{ runner.os }}-yarn-
26
+ cache : " yarn"
40
27
41
28
- run : yarn --frozen-lockfile
42
29
- run : git diff --exit-code
You can’t perform that action at this time.
0 commit comments