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:
13
13
runs-on : ubuntu-latest
14
14
15
15
steps :
16
- - name : Set up Node
17
- uses : actions/setup-node@v1
18
- with :
19
- node-version : 14.x
20
-
21
16
- name : Checkout code
22
17
uses : actions/checkout@v2
23
18
24
- - name : Cache dependencies
25
- uses : actions/cache @v2
19
+ - name : Set up Node
20
+ uses : actions/setup-node @v2
26
21
with :
27
- path : .yarn/cache
28
- key : yarn-${{ hashFiles('yarn.lock') }}
29
- restore-keys : yarn-
22
+ node-version : 14.x
23
+ cache : ' yarn'
30
24
31
25
- name : Install dependencies
32
26
run : yarn install
@@ -52,15 +46,10 @@ jobs:
52
46
uses : actions/checkout@v2
53
47
54
48
- name : Use node ${{ matrix.node }}
55
- uses : actions/setup-node@v1
49
+ uses : actions/setup-node@v2
56
50
with :
57
51
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'
64
53
65
54
- name : Install deps
66
55
run : yarn install
You can’t perform that action at this time.
0 commit comments