Skip to content

Commit

Permalink
ci: add Node.js v16 to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Nov 4, 2021
1 parent 8fbcddc commit 94bf5bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
node-version: [10.x, 12.x, 14.x, 16.x]

steps:
- uses: actions/checkout@v2
Expand All @@ -22,7 +22,7 @@ jobs:
run: node ./test/runTests.js

- name: Run tests
if: matrix.node-version == '14.x'
if: matrix.node-version >= '14.x'
run: |
node ./test/validateModuleExportsMatchCommonJS/index.js
NODE_OPTIONS=--experimental-vm-modules node ./test/vm-modules/index.js
3 changes: 0 additions & 3 deletions test/vm-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@
"type": "module",
"scripts": {
"test": "node index.js"
},
"engines": {
"node": "14"
}
}

0 comments on commit 94bf5bd

Please sign in to comment.