File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,15 +20,18 @@ jobs:
2020 runs-on : ubuntu-latest
2121
2222 strategy :
23+ fail-fast : false
2324 matrix : ${{ fromJson(needs.matrix.outputs.latest) }}
2425
2526 steps :
2627 - uses : actions/checkout@v2
27- - uses : ljharb/actions/node/run @main
28- name : ' npm install && npm run tests-only '
28+ - uses : ljharb/actions/node/install @main
29+ name : ' nvm install ${{ matrix.node-version }} && npm install '
2930 with :
3031 node-version : ${{ matrix.node-version }}
31- command : ' tests-only'
32+ - run : npm run tests-only
33+ - uses : codecov/codecov-action@v1
34+
3235 minors :
3336 needs : [matrix, latest]
3437 name : ' non-latest minors'
@@ -37,14 +40,17 @@ jobs:
3740 runs-on : ubuntu-latest
3841
3942 strategy :
43+ fail-fast : false
4044 matrix : ${{ fromJson(needs.matrix.outputs.minors) }}
4145
4246 steps :
4347 - uses : actions/checkout@v2
44- - uses : ljharb/actions/node/run@main
48+ - uses : ljharb/actions/node/install@main
49+ name : ' nvm install ${{ matrix.node-version }} && npm install'
4550 with :
4651 node-version : ${{ matrix.node-version }}
47- command : ' tests-only'
52+ - run : npm run tests-only
53+ - uses : codecov/codecov-action@v1
4854
4955 node :
5056 name : ' node 4+'
Original file line number Diff line number Diff line change @@ -20,16 +20,18 @@ jobs:
2020 runs-on : ubuntu-latest
2121
2222 strategy :
23+ fail-fast : false
2324 matrix : ${{ fromJson(needs.matrix.outputs.latest) }}
2425
2526 steps :
2627 - uses : actions/checkout@v2
27- - uses : ljharb/actions/node/run @main
28- name : ' npm install && npm run tests-only '
28+ - uses : ljharb/actions/node/install @main
29+ name : ' nvm install ${{ matrix.node-version }} && npm install '
2930 with :
3031 node-version : ${{ matrix.node-version }}
31- command : ' tests-only'
3232 skip-ls-check : true
33+ - run : npm run tests-only
34+ - uses : codecov/codecov-action@v1
3335
3436 minors :
3537 needs : [matrix, latest]
@@ -39,16 +41,18 @@ jobs:
3941 runs-on : ubuntu-latest
4042
4143 strategy :
44+ fail-fast : false
4245 matrix : ${{ fromJson(needs.matrix.outputs.minors) }}
4346
4447 steps :
4548 - uses : actions/checkout@v2
46- - uses : ljharb/actions/node/run @main
47- name : ' npm install && npm run tests-only '
49+ - uses : ljharb/actions/node/install @main
50+ name : ' nvm install ${{ matrix.node-version }} && npm install '
4851 with :
4952 node-version : ${{ matrix.node-version }}
50- command : ' tests-only'
5153 skip-ls-check : true
54+ - run : npm run tests-only
55+ - uses : codecov/codecov-action@v1
5256
5357 node :
5458 name : ' io.js'
Original file line number Diff line number Diff line change 88
99 steps :
1010 - uses : actions/checkout@v2
11- - uses : ljharb/actions/node/run @main
12- name : ' npm install && npm run pretest '
11+ - uses : ljharb/actions/node/install @main
12+ name : ' nvm install lts/* && npm install '
1313 with :
1414 node-version : ' lts/*'
15- command : ' pretest'
15+ - run : npm run pretest
1616
1717 posttest :
1818 runs-on : ubuntu-latest
1919
2020 steps :
2121 - uses : actions/checkout@v2
22- - uses : ljharb/actions/node/run @main
23- name : ' npm install && npm run posttest '
22+ - uses : ljharb/actions/node/install @main
23+ name : ' nvm install lts/* && npm install '
2424 with :
2525 node-version : ' lts/*'
26- command : ' posttest'
26+ - run : npm run posttest
Original file line number Diff line number Diff line change @@ -20,16 +20,19 @@ jobs:
2020 runs-on : ubuntu-latest
2121
2222 strategy :
23+ fail-fast : false
2324 matrix : ${{ fromJson(needs.matrix.outputs.stable) }}
2425
2526 steps :
2627 - uses : actions/checkout@v2
27- - uses : ljharb/actions/node/run@main
28+ - uses : ljharb/actions/node/install@main
29+ name : ' nvm install ${{ matrix.node-version }} && npm install'
2830 with :
2931 node-version : ${{ matrix.node-version }}
30- command : ' tests-only'
3132 cache-node-modules-key : node_modules-${{ github.workflow }}-${{ github.action }}-${{ github.run_id }}
3233 skip-ls-check : true
34+ - run : npm run tests-only
35+ - uses : codecov/codecov-action@v1
3336
3437 unstable :
3538 needs : [matrix, stable]
@@ -39,16 +42,19 @@ jobs:
3942 runs-on : ubuntu-latest
4043
4144 strategy :
45+ fail-fast : false
4246 matrix : ${{ fromJson(needs.matrix.outputs.unstable) }}
4347
4448 steps :
4549 - uses : actions/checkout@v2
46- - uses : ljharb/actions/node/run@main
50+ - uses : ljharb/actions/node/install@main
51+ name : ' nvm install ${{ matrix.node-version }} && npm install'
4752 with :
4853 node-version : ${{ matrix.node-version }}
49- command : ' tests-only'
5054 cache-node-modules-key : node_modules-${{ github.workflow }}-${{ github.action }}-${{ github.run_id }}
5155 skip-ls-check : true
56+ - run : npm run tests-only
57+ - uses : codecov/codecov-action@v1
5258
5359 node :
5460 name : ' node 0.x'
Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010
1111 steps :
12- - uses : actions/checkout@v1
12+ - uses : actions/checkout@v2
1313 - uses : ljharb/rebase@master
1414 env :
1515 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments