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,20 +18,23 @@ jobs:
1818 - 16
1919 - 18
2020 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
2424 with :
25- node-version : " ${{ matrix.node_version }}"
25+ node-version : ${{ matrix.node_version }}
2626 cache : npm
2727 - name : Install
2828 run : npm ci
2929 - name : Test
30- run : npm test --ignore-scripts # run lint only once
30+ run : npm test --ignore-scripts
3131 test :
3232 runs-on : ubuntu-latest
3333 needs : test_matrix
3434 steps :
35- - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
35+ - run : exit 1
36+ if : ${{ needs.test_matrix.result != 'success' }}
37+ - uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
3638 - run : npm ci
3739 - run : npm run lint
40+ if : ${{ always() }}
You can’t perform that action at this time.
0 commit comments