Skip to content

Commit

Permalink
[[CHORE]] Restore CI support for legacy Node.js (#3523)
Browse files Browse the repository at this point in the history
  • Loading branch information
jugglinmike committed Dec 27, 2020
1 parent 0c240e6 commit 2d4a3d1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Expand Up @@ -7,6 +7,13 @@ before_install:
- if [[ $(node --version) != v10* ]] ; then
node scripts/remove-dev-dependencies.js puppeteer;
fi
# This package is a transitive dependency which discontinued support for
# legacy Node.js versions in a patch release. Explicitly installing the
# compatible version as a dependency induces npm to use that version when
# installing modules.
- if [[ $(node --version) != v10* ]] ; then
npm install --no-package-lock --save-dev cli-table@0.3.1;
fi
script:
- npm run pretest
- npm run $CMD
Expand Down
5 changes: 5 additions & 0 deletions appveyor.yml
Expand Up @@ -18,6 +18,11 @@ install:
# they are only needed to verify correctness in a browser-like environment,
# they can be removed (and the tests skipped) without effecting coverage.
- if NOT "%nodejs_version%" == "10" node scripts/remove-dev-dependencies.js puppeteer
# This package is a transitive dependency which discontinued support for
# legacy Node.js versions in a patch release. Explicitly installing the
# compatible version as a dependency induces npm to use that version when
# installing modules.
- if NOT "%nodejs_version%" == "10" npm install --no-package-lock --save-dev cli-table@0.3.1
- npm install

build: off
Expand Down

0 comments on commit 2d4a3d1

Please sign in to comment.