Skip to content

Commit

Permalink
[BREAKING] Require Node.js >= 16.13.2 / npm >= 8
Browse files Browse the repository at this point in the history
BREAKING CHANGE:
Support for older Node.js and npm releases has been dropped.
Only Node.js v16.13.2 and npm v8 or higher are supported.
  • Loading branch information
matz3 committed Jan 24, 2022
1 parent 2504019 commit a8af8a7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:

- uses: actions/checkout@v2

- name: Use Node.js LTS 14.x
- name: Use Node.js LTS 16.x
uses: actions/setup-node@v2.4.1
with:
node-version: 14.x
node-version: 16.x

- name: Install dependencies
run: npm ci
Expand Down
20 changes: 7 additions & 13 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,18 @@ trigger:

strategy:
matrix:
linux_node_10:
linux_node_lts_16:
imageName: 'ubuntu-20.04'
node_version: 10.x
linux_node_lts_12:
imageName: 'ubuntu-20.04'
node_version: 12.x
linux_node_lts_14:
imageName: 'ubuntu-20.04'
node_version: 14.x
node_version: 16.x
linux_node_latest:
imageName: 'ubuntu-20.04'
node_version: 16.x
node_version: 17.x
mac_node_latest:
imageName: 'macOS-10.15'
node_version: 16.x
imageName: 'macOS-11'
node_version: 17.x
windows_node_latest:
imageName: 'windows-2019'
node_version: 16.x
imageName: 'windows-2022'
node_version: 17.x

pool:
vmImage: $(imageName)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
],
"main": "index.js",
"engines": {
"node": ">= 10",
"npm": ">= 5"
"node": ">= 16.13.2",
"npm": ">= 8"
},
"scripts": {
"test": "npm run lint && npm run jsdoc-generate && npm run coverage && npm run depcheck",
Expand Down

0 comments on commit a8af8a7

Please sign in to comment.