include Node.js v16 in CI tests (#5170)
authorAlex Lam S.L <alexlamsl@gmail.com>
Sat, 13 Nov 2021 10:34:18 +0000 (10:34 +0000)
committerGitHub <noreply@github.com>
Sat, 13 Nov 2021 10:34:18 +0000 (18:34 +0800)
- fix compatibility issues on v0.10 & v0.12

.github/workflows/ci.yml
test/jetstream.js

index 3acb9ab..3ef2543 100644 (file)
@@ -7,7 +7,7 @@ jobs:
   test:
     strategy:
       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 ]
         script: [ compress, mocha, release/benchmark, release/jetstream ]
     name: ${{ matrix.node }} ${{ matrix.os }} ${{ matrix.script }}
index db479d1..bb2de97 100644 (file)
@@ -69,6 +69,7 @@ if (typeof phantom == "undefined") {
             npm([
                 "install",
                 "graceful-fs@4.2.6",
+                "is-my-json-valid@2.20.5",
                 "phantomjs-prebuilt@2.1.14",
                 "--no-audit",
                 "--no-optional",