File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1010 strategy :
1111 fail-fast : false
1212 matrix :
13- node-version : [14.x , 16.x , 18.x , 20.x ]
13+ node-version : [14, 16, 18, 20]
1414
1515 steps :
1616 - name : Clone repository
@@ -23,14 +23,20 @@ jobs:
2323 cache : ' npm'
2424
2525 - name : Update npm
26+ if : ${{ matrix.node-version == 14 }}
2627 run : npm install -g npm@latest
2728
2829 - name : Install dependencies
2930 run : npm ci
3031
3132 - name : Run tests
33+ if : ${{ matrix.node-version > 14 }}
3234 run : npm run coverage
3335
36+ - name : Run tests
37+ if : ${{ matrix.node-version == 14 }}
38+ run : npm run coverage -- -- -n--experimental-abortcontroller
39+
3440 - name : Coveralls
3541 uses : coverallsapp/github-action@v2
3642 with :
Original file line number Diff line number Diff line change 3434 },
3535 "scripts" : {
3636 "test" : " mocha --exit" ,
37- "coverage" : " nyc --reporter=lcov npm run test"
37+ "coverage" : " nyc --reporter=lcov npm test"
3838 }
3939}
You can’t perform that action at this time.
0 commit comments