Skip to content

Commit

Permalink
chore: Update Node.js, LTS: 20 -> 22, Active: 22 -> 23
Browse files Browse the repository at this point in the history
  • Loading branch information
torokati44 authored and Dinnerbone committed Dec 2, 2024
1 parent b11a525 commit 6a8f77c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_extension_dockerfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion web/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down

0 comments on commit 6a8f77c

Please sign in to comment.