Skip to content

Commit 94bf5bd

Browse files
committed
ci: add Node.js v16 to test matrix
1 parent 8fbcddc commit 94bf5bd

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
strategy:
1010
matrix:
11-
node-version: [10.x, 12.x, 14.x]
11+
node-version: [10.x, 12.x, 14.x, 16.x]
1212

1313
steps:
1414
- uses: actions/checkout@v2
@@ -22,7 +22,7 @@ jobs:
2222
run: node ./test/runTests.js
2323

2424
- name: Run tests
25-
if: matrix.node-version == '14.x'
25+
if: matrix.node-version >= '14.x'
2626
run: |
2727
node ./test/validateModuleExportsMatchCommonJS/index.js
2828
NODE_OPTIONS=--experimental-vm-modules node ./test/vm-modules/index.js

test/vm-modules/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,5 @@
22
"type": "module",
33
"scripts": {
44
"test": "node index.js"
5-
},
6-
"engines": {
7-
"node": "14"
85
}
96
}

0 commit comments

Comments
 (0)