Skip to content

chore: bump CI to Node 24 + modernize action pins#168

Merged
jakebromberg merged 1 commit into
mainfrom
chore/node-24-bump
May 12, 2026
Merged

chore: bump CI to Node 24 + modernize action pins#168
jakebromberg merged 1 commit into
mainfrom
chore/node-24-bump

Conversation

@jakebromberg
Copy link
Copy Markdown
Member

Closes #167.

Summary

Axis 1 (Node runtime):

  • node-version: '20''24' in nextjs.yml + pr-open.yml
  • New .nvmrc (24) + engines.node: "24.x" in package.json

Axis 2 (Actions-internal Node runtime, deadline 2026-06-02):

  • actions/checkout@v3@v6 (both workflows) — upstream latest is v6.0.2 (2026-01-09)
  • actions/setup-node@v3@v6 (both workflows) — upstream latest is v6.4.0 (2026-04-20)
  • actions/configure-pages@v3@v5 (pr-open.yml; nextjs.yml already on v5)
  • actions/cache@v3 / @v4@v5
  • actions/upload-pages-artifact@v3@v4

Same @v6 pins already in use across WXYC/wxyc-shared and WXYC/archive with green CI.

Test plan

  • Local on Node 26: 59/59 unit tests pass
  • PR CI green, no Node 20 deprecation warnings in the run log
  • GitHub Pages deploy succeeds on main after merge

CI workflows (nextjs.yml, pr-open.yml) move Node 20 -> Node 24. Adds .nvmrc and engines.node "24.x" so local dev/GitHub Pages build/CI all agree.

Node 20 hit EOL in April 2026; Node 24 is the current Active LTS through October 2026. GitHub also forces the Actions internal Node runtime to Node 24 by default on 2026-06-02, so this PR also brings the action pins forward: actions/checkout v3 -> v6 (both workflows); actions/setup-node v3 -> v6 (both workflows); actions/configure-pages v3 -> v5 (pr-open; nextjs already on v5); actions/cache v3/v4 -> v5; actions/upload-pages-artifact v3 -> v4. actions/deploy-pages already on v4 (current).

Local verification on Node 26 (forward-compatible with 24): 59/59 unit tests pass.
@jakebromberg jakebromberg merged commit 0e2c684 into main May 12, 2026
1 check passed
@jakebromberg jakebromberg deleted the chore/node-24-bump branch May 12, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump CI to Node 24 + modernize action pins

1 participant