File tree 3 files changed +15
-15
lines changed
3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -57,14 +57,14 @@ jobs:
57
57
58
58
steps :
59
59
- 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 '
62
62
with :
63
- after_install : NPM_CONFIG_LEGACY_PEER_DEPS=true npm install --no-save "eslint@${{ matrix.eslint }}"
64
63
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 }}"
67
65
skip-ls-check : true
66
+ - run : npm run unit-test
67
+ - run : npm run coveralls
68
68
69
69
node :
70
70
name : ' node 4+'
Original file line number Diff line number Diff line change 8
8
9
9
steps :
10
10
- 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 '
13
13
with :
14
14
node-version : ' lts/*'
15
- command : ' pretest'
16
15
skip-ls-check : true
16
+ - run : npm run pretest
17
17
18
18
posttest :
19
19
runs-on : ubuntu-latest
20
20
21
21
steps :
22
22
- 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 '
25
25
with :
26
26
node-version : ' lts/*'
27
- command : ' posttest'
28
27
skip-ls-check : true
28
+ - run : npm run posttest
Original file line number Diff line number Diff line change 8
8
9
9
steps :
10
10
- 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 '
13
13
with :
14
14
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