Skip to content

Commit

Permalink
chore: bump minimum Node version to 20.8.1
Browse files Browse the repository at this point in the history
This bumps the minimum supported Node version to 20.8.1. Node 20 is the new LTS version
and some of our dependencies already dropped supported for Node 18.
Check out [our Node Support Policy](https://semantic-release.gitbook.io/semantic-release/support/node-support-policy)
to understand how we handle Node versions.

BREAKING CHANGE: Node 18 is not supported anymore. Users have to upgrade to Node 20.8.1 or later.
  • Loading branch information
fgreinacher committed Dec 22, 2023
1 parent 8eb7136 commit 0edf134
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
strategy:
matrix:
node-version:
- 18.17.0
- 20.6.1
- 20.8.1 # minimum supported Node version
- 20
- 21
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"prettier": "3.1.1"
},
"engines": {
"node": "^18.17 || >=20.6.1"
"node": ">=20.8.1"
},
"files": [
"index.js"
Expand Down

0 comments on commit 0edf134

Please sign in to comment.