Skip to content

Commit

Permalink
docs: upgrade Node.js to version 20
Browse files Browse the repository at this point in the history
Node.js 20 is the current LTS release:
https://nodejs.org/en/about/releases/

BREAKING CHANGE: the minimum Node.js is 20
  • Loading branch information
coderbyheart committed Nov 28, 2023
1 parent 136c619 commit ff64ae1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: "20.x"

- name: Keep npm cache around to speed up installs
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: "20.x"
- name: Authenticate with NPM registry
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- name: Keep npm cache around to speed up installs
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"access": "public"
},
"engines": {
"node": ">=18",
"node": ">=20",
"npm": ">=9"
},
"jest": {
Expand Down

0 comments on commit ff64ae1

Please sign in to comment.