web,ci: Recommend and test with Node.js 20 LTS and 21 stable

This commit is contained in:
TÖRÖK Attila 2024-02-06 03:49:50 +01:00 committed by Daniel Jacobs
parent b55db7083c
commit 555fcfa9c4
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node_version: ["18", "20"]
node_version: ["20", "21"]
rust_version: [stable] # We most likely don't care about Rust versions here, we'll catch those issues in test_rust.yml.
os: [ubuntu-22.04, windows-latest]
@ -105,7 +105,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: ["18", "20"]
node_version: ["20", "21"]
rust_version: [stable] # We most likely don't care about Rust versions here, we'll catch those issues in test_rust.yml.
os: [ubuntu-22.04, windows-latest]

View File

@ -57,7 +57,7 @@ should work. Additionally, headless JREs should also work.
Follow the instructions to [install Node.js](https://nodejs.org/) on your machine.
We recommend using the currently active LTS 18, but we do also run tests with current Node.js 20.
We recommend using the currently active LTS 20, but we do also run tests with current Node.js 21.
Note that npm 7 or newer is required. It should come bundled with Node.js 15 or newer, but can be upgraded with older Node.js versions using `npm install -g npm` as root/Administrator.