File tree Expand file tree Collapse file tree 3 files changed +40
-2
lines changed
Expand file tree Collapse file tree 3 files changed +40
-2
lines changed Original file line number Diff line number Diff line change 1+ name : ' Tests: node.js < 10'
2+
3+ on : [pull_request, push]
4+
5+ jobs :
6+ tests :
7+ uses : ljharb/actions/.github/workflows/node.yml@main
8+ with :
9+ range : ' < 10'
10+ type : minors
11+ command : npm run tests-only
12+
13+ node :
14+ name : ' node < 10'
15+ needs : [tests]
16+ runs-on : ubuntu-latest
17+ steps :
18+ - run : ' echo tests completed'
Original file line number Diff line number Diff line change 1+ name : ' Tests: node.js >= 10'
2+
3+ on : [pull_request, push]
4+
5+ jobs :
6+ tests :
7+ uses : ljharb/actions/.github/workflows/node.yml@main
8+ with :
9+ range : ' >= 10'
10+ type : minors
11+ command : npm run tests-only
12+
13+ node :
14+ name : ' node >= 10'
15+ needs : [tests]
16+ runs-on : ubuntu-latest
17+ steps :
18+ - run : ' echo tests completed'
Original file line number Diff line number Diff line change 3636 },
3737 "scripts" : {
3838 "lint" : " standard" ,
39- "test" : " node test" ,
40- "prepare" : " npm run build && node test" ,
39+ "pretest" : " npm run build" ,
40+ "tests-only" : " node test" ,
41+ "test" : " npm run tests-only && npm run lint" ,
42+ "prepare" : " npm run build" ,
4143 "build:self" : " babel src --out-dir ." ,
4244 "build" : " npm-run-all --parallel build:*"
4345 },
You can’t perform that action at this time.
0 commit comments