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 @@ -17,20 +17,23 @@ jobs:
17
17
- 16
18
18
- 18
19
19
steps :
20
- - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
21
- - name : " Use Node.js ${{ matrix.node_version }}"
22
- uses : actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
20
+ - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
21
+ - name : Use Node.js ${{ matrix.node_version }}
22
+ uses : actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93
23
23
with :
24
- node-version : " ${{ matrix.node_version }}"
24
+ node-version : ${{ matrix.node_version }}
25
25
cache : npm
26
26
- name : Install
27
27
run : npm ci
28
28
- name : Test
29
- run : npm test --ignore-scripts # run lint only once
29
+ run : npm test --ignore-scripts
30
30
test :
31
31
runs-on : ubuntu-latest
32
32
needs : test_matrix
33
33
steps :
34
- - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
34
+ - run : exit 1
35
+ if : ${{ needs.test_matrix.result != 'success' }}
36
+ - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
35
37
- run : npm ci
36
38
- run : npm run lint
39
+ if : ${{ always() }}
You can’t perform that action at this time.
0 commit comments