diff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.yml index 5d8d4b5c405c..633db4e68a79 100644 --- a/.github/workflows/release_nightly.yml +++ b/.github/workflows/release_nightly.yml @@ -340,7 +340,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: "20" + node-version: "22" registry-url: https://registry.npmjs.org # wasm-bindgen-cli version must match wasm-bindgen crate version. diff --git a/.github/workflows/test_extension_dockerfile.yml b/.github/workflows/test_extension_dockerfile.yml index 9e226278294f..2bc921eeb107 100644 --- a/.github/workflows/test_extension_dockerfile.yml +++ b/.github/workflows/test_extension_dockerfile.yml @@ -25,7 +25,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: "20" + node-version: "22" registry-url: https://registry.npmjs.org - name: Install wasm-bindgen diff --git a/.github/workflows/test_web.yml b/.github/workflows/test_web.yml index 278b6c778189..2940dabd4c04 100644 --- a/.github/workflows/test_web.yml +++ b/.github/workflows/test_web.yml @@ -35,7 +35,7 @@ jobs: strategy: fail-fast: false matrix: - node_version: ["20", "22"] + node_version: ["22", "23"] os: [ubuntu-24.04, windows-latest] steps: @@ -197,7 +197,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node_version: ["20", "22"] + node_version: ["22", "23"] os: [ubuntu-24.04, windows-latest] steps: diff --git a/web/README.md b/web/README.md index 9494d087e708..9393fce7fc9a 100644 --- a/web/README.md +++ b/web/README.md @@ -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 20, but we do also run tests with current Node.js 22. +We recommend using the currently active LTS 22, but we do also run tests with current Node.js 23. 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. diff --git a/web/docker/Dockerfile b/web/docker/Dockerfile index 3eafa51fd8ae..cb2434d11b31 100644 --- a/web/docker/Dockerfile +++ b/web/docker/Dockerfile @@ -2,7 +2,7 @@ # rm -rf web/docker/docker_builds/packages/* # docker build --tag ruffle-web-docker -f web/docker/Dockerfile . # docker cp $(docker create ruffle-web-docker:latest):/ruffle/web/packages web/docker/docker_builds/packages -FROM node:20 +FROM node:22 # Installing wasm-opt from GitHub: # Keep the version number in sync with the ones in the Actions workflows!