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 e8e022b commit 5b049ff
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-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: "20.x"
- name: Install latest npm
run: |
sudo npm install -g npm@
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
]
},
"engines": {
"node": ">=18",
"node": ">=20",
"npm": ">=9"
},
"release": {
Expand Down

0 comments on commit 5b049ff

Please sign in to comment.