Skip to content

Commit c4fb322

Browse files
committed
Add more node versions to test matrix
1 parent bfeb75d commit c4fb322

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
node-version: [14.x]
17+
node-version: [12, 14, 16]
18+
include:
19+
- node: 14
20+
reportCoverage: true
1821

1922
steps:
2023
- uses: actions/checkout@v2
@@ -29,6 +32,7 @@ jobs:
2932
npm run test
3033
npm run coverage
3134
- name: Publish to coveralls.io
35+
if: ${{ matrix.reportCoverage }}
3236
uses: coverallsapp/[email protected]
3337
with:
3438
github-token: ${{ github.token }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
package-lock.json
12
.nyc_output
23

34
# Logs

0 commit comments

Comments
 (0)