File tree Expand file tree Collapse file tree 1 file changed +6
-17
lines changed Expand file tree Collapse file tree 1 file changed +6
-17
lines changed Original file line number Diff line number Diff line change @@ -13,20 +13,14 @@ jobs:
1313 runs-on : ubuntu-latest
1414
1515 steps :
16- - name : Set up Node
17- uses : actions/setup-node@v1
18- with :
19- node-version : 14.x
20-
2116 - name : Checkout code
2217 uses : actions/checkout@v2
2318
24- - name : Cache dependencies
25- uses : actions/cache @v2
19+ - name : Set up Node
20+ uses : actions/setup-node @v2
2621 with :
27- path : .yarn/cache
28- key : yarn-${{ hashFiles('yarn.lock') }}
29- restore-keys : yarn-
22+ node-version : 14.x
23+ cache : ' yarn'
3024
3125 - name : Install dependencies
3226 run : yarn install
@@ -52,15 +46,10 @@ jobs:
5246 uses : actions/checkout@v2
5347
5448 - name : Use node ${{ matrix.node }}
55- uses : actions/setup-node@v1
49+ uses : actions/setup-node@v2
5650 with :
5751 node-version : ${{ matrix.node }}
58-
59- - uses : actions/cache@v2
60- with :
61- path : .yarn/cache
62- key : yarn-${{ hashFiles('yarn.lock') }}
63- restore-keys : yarn-
52+ cache : ' yarn'
6453
6554 - name : Install deps
6655 run : yarn install
You can’t perform that action at this time.
0 commit comments