bump to Node 24 in CI

All bumped `actions/*` for GitHub Workflows require Node 24 right now.
We were relying on Node 20, but that's in maintenance mode until April.

Node 24 is the current Active LTS version.
This commit is contained in:
Robin Malfait 2026-01-06 13:48:17 +01:00
parent bde403e013
commit 6313cf6770
No known key found for this signature in database
5 changed files with 13 additions and 10 deletions

View File

@ -8,12 +8,14 @@ on:
permissions:
contents: read
env:
NODE_VERSION: 24
jobs:
tests:
strategy:
fail-fast: false
matrix:
node-version: [20]
runner:
- name: Windows
os: windows-latest
@ -44,10 +46,10 @@ jobs:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ env.NODE_VERSION }}
cache: 'pnpm'
# Cargo already skips downloading dependencies if they already exist

View File

@ -8,13 +8,14 @@ on:
permissions:
contents: read
env:
NODE_VERSION: 24
jobs:
tests:
strategy:
fail-fast: false
matrix:
node-version: [20]
runner:
- name: Windows
os: windows-latest
@ -57,10 +58,10 @@ jobs:
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ env.NODE_VERSION }}
cache: 'pnpm'
# Cargo already skips downloading dependencies if they already exist

View File

@ -8,7 +8,7 @@ on:
env:
APP_NAME: tailwindcss-oxide
NODE_VERSION: 20
NODE_VERSION: 24
OXIDE_LOCATION: ./crates/node
permissions:

View File

@ -9,7 +9,7 @@ permissions:
env:
APP_NAME: tailwindcss-oxide
NODE_VERSION: 20
NODE_VERSION: 24
OXIDE_LOCATION: ./crates/node
RELEASE_CHANNEL: insiders

View File

@ -10,7 +10,7 @@ permissions:
env:
APP_NAME: tailwindcss-oxide
NODE_VERSION: 20
NODE_VERSION: 24
OXIDE_LOCATION: ./crates/node
jobs: