File tree 1 file changed +20
-19
lines changed
1 file changed +20
-19
lines changed Original file line number Diff line number Diff line change 8
8
9
9
strategy :
10
10
matrix :
11
- node-version : [16.x]
11
+ node-version : [16.x, 17.x ]
12
12
13
13
steps :
14
- - uses : actions/checkout@v1
14
+ - uses : actions/checkout@v2
15
15
16
- - name : Use Node.js ${{ matrix.node-version }}
17
- uses : actions/setup-node@v1
18
- with :
19
- node-version : ${{ matrix.node-version }}
16
+ - name : Use Node.js ${{ matrix.node-version }}
17
+ uses : actions/setup-node@v2
18
+ with :
19
+ node-version : ${{ matrix.node-version }}
20
+ cache : " npm"
20
21
21
- - name : npm install, build, test and generate coverage
22
- run : |
23
- npm install
24
- npm run build
25
- npm run coverage
26
- env :
27
- CI : true
22
+ - name : npm install, build, test and generate coverage
23
+ run : |
24
+ npm install
25
+ npm run build
26
+ npm run coverage
27
+ env :
28
+ CI : true
28
29
29
- - name : Upload coverage
30
- if : success()
31
- run : bash <(curl -s https://codecov.io/bash) -t $TOKEN -B $REF
32
- env :
33
- TOKEN : " ${{ secrets.CODECOV_TOKEN }}"
34
- REF : " ${{ github.ref }}"
30
+ - name : Upload coverage
31
+ if : success()
32
+ run : bash <(curl -s https://codecov.io/bash) -t $TOKEN -B $REF
33
+ env :
34
+ TOKEN : " ${{ secrets.CODECOV_TOKEN }}"
35
+ REF : " ${{ github.ref }}"
You can’t perform that action at this time.
0 commit comments