File tree 1 file changed +6
-17
lines changed
1 file changed +6
-17
lines changed Original file line number Diff line number Diff line change @@ -11,33 +11,22 @@ jobs:
11
11
node-version : [18.x, 20.x]
12
12
13
13
steps :
14
- - uses : actions/checkout@v3
14
+ - uses : actions/checkout@v4
15
15
16
16
- name : Use Node.js ${{ matrix.node-version }}
17
- uses : actions/setup-node@v3
17
+ uses : actions/setup-node@v4
18
18
with :
19
19
node-version : ${{ matrix.node-version }}
20
-
21
- - name : Cache node modules
22
- uses : actions/cache@v3
23
- env :
24
- cache-name : cache-node-modules
25
- with :
26
- path : ~/.npm
27
- key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
28
- restore-keys : |
29
- ${{ runner.os }}-build-${{ env.cache-name }}-
30
- ${{ runner.os }}-build-
31
- ${{ runner.os }}-
20
+ cache : ' yarn'
32
21
33
22
- name : Install dependencies
34
- run : yarn
23
+ run : yarn install --frozen-lockfile
35
24
36
25
- name : Run linter
37
- run : npm run lint
26
+ run : yarn lint
38
27
39
28
- name : Run test with coverage
40
- run : npm run coverage
29
+ run : yarn coverage
41
30
42
31
- name : Coveralls
43
32
uses : coverallsapp/github-action@master
You can’t perform that action at this time.
0 commit comments