File tree 2 files changed +15
-12
lines changed
2 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -65,13 +65,16 @@ jobs:
65
65
66
66
steps :
67
67
- uses : actions/checkout@v2
68
- - uses : ljharb/actions/node/run@main
69
- name : ' npm install && npm run tests-only'
68
+ with :
69
+ fetch-depth : 0
70
+ - uses : ljharb/actions/node/install@main
71
+ name : ' nvm install ${{ matrix.node-version }} && npm install'
70
72
with :
71
73
after_install : npm uninstall --no-save eslint-config-airbnb-base && NPM_CONFIG_LEGACY_PEER_DEPS=true npm install --no-save "eslint@${{ matrix.eslint }}"
72
74
node-version : ${{ matrix.node-version }}
73
- command : ' test:ci'
74
75
skip-ls-check : true
76
+ - run : npm run test:ci
77
+ - run : bash <(curl -s https://codecov.io/bash) -f coverage/*.json;
75
78
76
79
node :
77
80
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 lint '
11
+ - uses : ljharb/actions/node/install @main
12
+ name : ' nvm install lts/* && npm install '
13
13
with :
14
14
node-version : ' lts/*'
15
- command : ' lint'
16
15
skip-ls-check : true
16
+ - run : npm run lint
17
17
18
18
flow :
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 flow '
23
+ - uses : ljharb/actions/node/install @main
24
+ name : ' nvm install lts/* && npm install '
25
25
with :
26
26
node-version : ' lts/*'
27
- command : ' flow'
28
27
skip-ls-check : true
28
+ - run : npm run flow
29
29
30
30
posttest :
31
31
runs-on : ubuntu-latest
32
32
33
33
steps :
34
34
- uses : actions/checkout@v2
35
- - uses : ljharb/actions/node/run @main
36
- name : ' npm install && npm run posttest '
35
+ - uses : ljharb/actions/node/install @main
36
+ name : ' nvm install lts/* && npm install '
37
37
with :
38
38
node-version : ' lts/*'
39
- command : ' posttest'
40
39
skip-ls-check : true
40
+ - run : npm run posttest
You can’t perform that action at this time.
0 commit comments