Skip to content

Commit 93b7f42

Browse files
committed
ci: move GitHub Actions workflows to Node 24 runtimes
1 parent d3a5de7 commit 93b7f42

3 files changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ on:
1515
- 'dev/config/**'
1616
workflow_dispatch:
1717

18+
env:
19+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
20+
1821
permissions:
1922
contents: write
2023

@@ -26,11 +29,11 @@ jobs:
2629
build:
2730
runs-on: ubuntu-latest
2831
steps:
29-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v6
3033
with:
3134
fetch-depth: 0
3235

33-
- uses: actions/setup-node@v4
36+
- uses: actions/setup-node@v6
3437
with:
3538
node-version: 24
3639
cache: npm

.github/workflows/check-themes.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,16 @@ on:
1414
- 'dev/config/**'
1515
- '.github/workflows/**'
1616

17+
env:
18+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
19+
1720
jobs:
1821
validate_pull_requests:
1922
runs-on: ubuntu-latest
2023
steps:
21-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v6
2225

23-
- uses: actions/setup-node@v4
26+
- uses: actions/setup-node@v6
2427
with:
2528
node-version: 24
2629
cache: npm

MEMORY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ This file stores durable project context so future conversations can resume work
3131
- `.github/workflows/build.yml`
3232
- `.github/workflows/check-themes.yml`
3333
- CI now uses current `actions/checkout@v4` and `actions/setup-node@v4` on Node 24
34+
- CI workflows now opt into Node 24 for JavaScript actions explicitly and use `actions/checkout@v6` plus `actions/setup-node@v6`
3435
- Build workflow now runs automatically on pushes to `main` that affect site/build inputs and commits regenerated `docs/` output back to the branch
3536
- PR validation now runs `npm test` and `npm run build` for site-related changes instead of only checking `themes.json`
3637
- The build workflow syntax also requires `workflow_dispatch:` with a trailing colon; missing it makes GitHub mark the workflow file as invalid even if other checks still pass

0 commit comments

Comments
 (0)