File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -18,18 +18,21 @@ jobs:
18
18
- 16
19
19
- 18
20
20
steps :
21
- - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
22
- - name : " Use Node.js ${{ matrix.node_version }}"
23
- uses : actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
21
+ - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
22
+ - name : Use Node.js ${{ matrix.node_version }}
23
+ uses : actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93
24
24
with :
25
- node-version : " ${{ matrix.node_version }}"
25
+ node-version : ${{ matrix.node_version }}
26
26
cache : npm
27
27
- run : npm ci
28
- - run : npm test --ignore-scripts # run lint only once
28
+ - run : npm test --ignore-scripts
29
29
test :
30
30
runs-on : ubuntu-latest
31
31
needs : test_matrix
32
32
steps :
33
- - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
33
+ - run : exit 1
34
+ if : ${{ needs.test_matrix.result != 'success' }}
35
+ - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
34
36
- run : npm ci
35
37
- run : npm run lint
38
+ if : ${{ always() }}
You can’t perform that action at this time.
0 commit comments