include Node.js v16 in CI tests (#5170)

- fix compatibility issues on v0.10 & v0.12
This commit is contained in:
Alex Lam S.L
2021-11-13 10:34:18 +00:00
committed by GitHub
parent 6e4aa0326f
commit eaa84d32df
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",