include Node.js v16 in CI tests

- fix compatibility issues on v0.10 & v0.12
This commit is contained in:
alexlamsl 2021-11-13 12:40:00 +08:00
parent 6e4aa0326f
commit 2d9f4bf9dc
2 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ jobs:
test: test:
strategy: strategy:
matrix: matrix:
node: [ '0.10', '0.12', '4', '6', '8', '10', '12', '14', latest ] node: [ '0.10', '0.12', '4', '6', '8', '10', '12', '14', '16', latest ]
os: [ ubuntu-latest, windows-latest ] os: [ ubuntu-latest, windows-latest ]
script: [ compress, mocha, release/benchmark, release/jetstream ] script: [ compress, mocha, release/benchmark, release/jetstream ]
name: ${{ matrix.node }} ${{ matrix.os }} ${{ matrix.script }} name: ${{ matrix.node }} ${{ matrix.os }} ${{ matrix.script }}

View File

@ -69,6 +69,7 @@ if (typeof phantom == "undefined") {
npm([ npm([
"install", "install",
"graceful-fs@4.2.6", "graceful-fs@4.2.6",
"is-my-json-valid@2.20.5",
"phantomjs-prebuilt@2.1.14", "phantomjs-prebuilt@2.1.14",
"--no-audit", "--no-audit",
"--no-optional", "--no-optional",