chore: bump CI to Node 24 + modernize action pins#168
Merged
Conversation
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.
This was referenced May 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #167.
Summary
Axis 1 (Node runtime):
node-version: '20'→'24'innextjs.yml+pr-open.yml.nvmrc(24) +engines.node: "24.x"inpackage.jsonAxis 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→@v5actions/upload-pages-artifact@v3→@v4Same
@v6pins already in use across WXYC/wxyc-shared and WXYC/archive with green CI.Test plan