From eaa84d32dfa373acdebe27513ddc606fdfd1e228 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Sat, 13 Nov 2021 10:34:18 +0000 Subject: [PATCH] include Node.js v16 in CI tests (#5170) - fix compatibility issues on v0.10 & v0.12 --- .github/workflows/ci.yml | 2 +- test/jetstream.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3acb9abe..3ef25435 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} diff --git a/test/jetstream.js b/test/jetstream.js index db479d18..bb2de970 100644 --- a/test/jetstream.js +++ b/test/jetstream.js @@ -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",