Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

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 61571cc commit 3d17c05
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,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
4 changes: 2 additions & 2 deletions .github/workflows/test-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,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 Expand Up @@ -122,7 +122,7 @@ jobs:
- uses: actions/download-artifact@v3
- 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
with:
Expand Down
4 changes: 2 additions & 2 deletions docs/project/SystemRequirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ You need a Linux development environment with

- `Git <https://git-scm.com/>`_
- `jq <https://stedolan.github.io/jq/>`_
- the `LTS release candidate of Node.js <https://nodejs.org/en/about/releases/>`_ (current LTS release is version 18)
- the `current stable release of npm (version 8) <https://github.blog/changelog/2021-10-07-npm-cli-upgraded-to-version-8/>`_
- the `LTS release candidate of Node.js <https://nodejs.org/en/download>`_ (current LTS release is version 20)
- the `current stable release of npm (version 9) <https://github.blog/changelog/2022-11-09-npm-cli-v9-is-now-generally-available/>`_
- `OpenSSL v3 <https://www.openssl.org/source/>`_ (for the certificate generation helpers)

If you are using Windows, use the `Windows Subsystem for Linux <https://docs.microsoft.com/en-us/windows/wsl/install-win10>`_ with `Ubuntu 22.04
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
]
},
"engines": {
"node": ">=18",
"node": ">=20",
"npm": ">=9"
},
"release": {
Expand Down

0 comments on commit 3d17c05

Please sign in to comment.