File tree Expand file tree Collapse file tree 1 file changed +8
-20
lines changed Expand file tree Collapse file tree 1 file changed +8
-20
lines changed Original file line number Diff line number Diff line change 8
8
build :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v2
11
+ - uses : actions/checkout@v3
12
12
- name : Setup Node
13
- uses : actions/setup-node@v2
13
+ uses : actions/setup-node@v3
14
14
with :
15
- node-version : 17
16
- - name : Cache Yarn
17
- uses : actions/cache@v2
18
- with :
19
- path : ' **/node_modules'
20
- key : ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
21
- restore-keys : |
22
- ${{ runner.os }}-yarn-
15
+ node-version : current
16
+ cache : ' yarn'
23
17
- run : yarn install --frozen-lockfile
24
18
- run : yarn test
25
19
env :
26
20
CI : true
27
21
eslint :
28
22
runs-on : ubuntu-latest
29
23
steps :
30
- - uses : actions/checkout@v2
24
+ - uses : actions/checkout@v3
31
25
- name : Setup Node
32
- uses : actions/setup-node@v2
33
- with :
34
- node-version : 17
35
- - name : Cache Yarn
36
- uses : actions/cache@v2
26
+ uses : actions/setup-node@v3
37
27
with :
38
- path : ' **/node_modules'
39
- key : ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
40
- restore-keys : |
41
- ${{ runner.os }}-yarn-
28
+ node-version : current
29
+ cache : ' yarn'
42
30
- run : yarn install --frozen-lockfile
43
31
- run : yarn lint-fix
44
32
- run : yarn prettier
You can’t perform that action at this time.
0 commit comments