File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 build :
14- runs-on : ubuntu-latest
14+ runs-on : ${{ matrix.os }}
15+ strategy :
16+ fail-fast : false
17+ matrix :
18+ node : [12, 14]
19+ os : [ubuntu-latest, windows-latest]
20+
1521 steps :
1622 - uses : actions/checkout@v2
1723 - uses : actions/setup-node@v2
1824 with :
19- node-version : 12
25+ node-version : ${{ matrix.node }}
2026
2127 - name : Run ci
2228 run : npm ci
2329
2430 - name : Run tests
25- run : npm run coverage
31+ run : npm run test-cov
2632
2733 - name : Coveralls
2834 uses : coverallsapp/github-action@master
Original file line number Diff line number Diff line change 55 "main" : " index.js" ,
66 "scripts" : {
77 "test" : " mocha" ,
8- "coverage" : " nyc npm test && nyc report --reporter=text-lcov | coveralls"
8+ "test-cov" : " nyc npm test" ,
9+ "test-coveralls" : " nyc npm test && nyc report --reporter=text-lcov | coveralls"
910 },
1011 "repository" : {
1112 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments