Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: enable Node.js v17 testing #1906

Merged
merged 1 commit into from
Nov 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [10, 12, 14, 16]
node-version: [10, 12, 14, 16, 17]
include:
- os: macos-latest
node-version: 14
Expand All @@ -34,8 +34,12 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Update NPM (Node.js v10)
if: matrix.node-version == 10
run: npm install --global npm@7
- name: Update NPM
run: npm install --global npm
if: matrix.node-version != 10
run: npm install --global npm@8
- name: Bootstrap project
run: npm ci --ignore-scripts
- name: Build project
Expand Down
11 changes: 10 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,16 @@ arch:
- arm64
- ppc64le
- s390x
dist: bionic
language: node_js
before_install: npm install --global npm
before_install: |
NODEJS_VERSION=$(node --version)
if [ 'v10' = ${NODEJS_VERSION%%.*} ]
then
npm install --global npm@7
else
npm install --global npm@8
fi
script:
- npm run --ignore-scripts build
- npm test --ignore-scripts
Expand All @@ -15,3 +23,4 @@ node_js:
- 12
- 14
- 16
- 17