Skip to content

Commit

Permalink
build!: bump minimun Node.JS version to Node 16.18
Browse files Browse the repository at this point in the history
Bump the minimum version of Node.JS to Node v16.18.
Node v14, v15, v17, v19 are all no longer being maintained, see
https://github.com/nodejs/release#release-schedule

Node v16.18 was picked as the minimum required Node.JS version, since
that's the most commonly available Node.JS version in OS package repos,
see https://repology.org/project/nodejs/versions

BREAKING CHANGE: The minimum supported version of NodeJS is now 16.18,
                 18.x, or >= 20.x. NodeJS v14, v15, v17, and v19 are
                 no longer supported.
  • Loading branch information
aloisklink committed Aug 3, 2023
1 parent 119f517 commit 959f032
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/semantic-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@v3
- name: Use Node.js 14.x
- name: Use Node.js 16.18
uses: actions/setup-node@v3
with:
node-version: '14.x'
node-version: '16.18'
- run: npm install
- run: git config --global user.email "[email protected]" && git config --global user.name "Test Build"
- run: npm test
Expand All @@ -26,10 +26,10 @@ jobs:
steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v3
- name: Use Node.js 14.x
- name: Use Node.js 16.18
uses: actions/setup-node@v3
with:
node-version: '14.x'
node-version: '16.18'
- run: npm install
- run: git config --global user.email "[email protected]" && git config --global user.name "Test Build"
- run: npm test
Expand All @@ -44,10 +44,10 @@ jobs:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Use Node.js 14.x
- name: Use Node.js 16.18
uses: actions/setup-node@v3
with:
node-version: '14.x'
node-version: '16.18'
- run: npm install
- run: npm run semantic-release
env:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ These tools have been introduced by Adobe to document Adobe's Experience Data Mo
## Requirements

- `npm` version 3.10.8 or up
- `node` v14 or up
- `node` v16.18, v18, or v20 or up

## Example Output

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"unist-util-select": "5.0.0"
},
"engines": {
"node": ">= 14.0.0"
"node": "^16.18.0 || ^18.0.0 || >= 20.0.0"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 959f032

Please sign in to comment.