File tree Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -57,14 +57,14 @@ jobs:
5757
5858 steps :
5959 - uses : actions/checkout@v2
60- - uses : ljharb/actions/node/run @main
61- name : ' npm install && npm run tests-only '
60+ - uses : ljharb/actions/node/install @main
61+ name : ' nvm install ${{ matrix.node-version }} && npm install '
6262 with :
63- after_install : NPM_CONFIG_LEGACY_PEER_DEPS=true npm install --no-save "eslint@${{ matrix.eslint }}"
6463 node-version : ${{ matrix.node-version }}
65- command : ' unit-test'
66- after_success : ' npm run coveralls'
64+ after_install : NPM_CONFIG_LEGACY_PEER_DEPS=true npm install --no-save "eslint@${{ matrix.eslint }}"
6765 skip-ls-check : true
66+ - run : npm run unit-test
67+ - run : npm run coveralls
6868
6969 node :
7070 name : ' node 4+'
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'
1615 skip-ls-check : true
16+ - run : npm run pretest
1717
1818 posttest :
1919 runs-on : ubuntu-latest
2020
2121 steps :
2222 - uses : actions/checkout@v2
23- - uses : ljharb/actions/node/run @main
24- name : ' npm install && npm run posttest '
23+ - uses : ljharb/actions/node/install @main
24+ name : ' nvm install lts/* && npm install '
2525 with :
2626 node-version : ' lts/*'
27- command : ' posttest'
2827 skip-ls-check : true
28+ - run : npm run posttest
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 generate-list-of-rules '
11+ - uses : ljharb/actions/node/install @main
12+ name : ' nvm install lts/* && npm install '
1313 with :
1414 node-version : ' lts/*'
15- command : ' generate-list-of-rules '
16- skip-ls-check : true
15+ skip-ls-check : true
16+ - run : npm run generate-list-of-rules
You can’t perform that action at this time.
0 commit comments