Skip to content

ci: move the actions off Node 20 - #274

Merged
16bit-ykiko merged 1 commit into
mainfrom
ci/bump-node20-actions
Oct 17, 2026
Merged

16bit-ykiko merged 1 commit into
mainfrom
ci/bump-node20-actions

Conversation

@16bit-ykiko

@16bit-ykiko 16bit-ykiko commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

The first real publish (clice-io/xclang run 39030150497) and every deploy warn that actions/checkout@v4, actions/setup-node@v4 and peter-evans/create-pull-request@v7 target Node 20 and are being forced onto Node 24.

  • action.yml: actions/checkout@v4 → @v7 (as the rest of the repo uses), peter-evans/create-pull-request@v7 → @v8 (node24). v8's action.yml is identical to v7's apart from using: node24, so the inputs the action passes and the pull-request-number output it reads are unchanged. The v8 release notes list no change beyond the runtime (self-hosted runners need ≥ 2.327.1). It works with checkout v6+'s separately persisted credentials, which create-pull-request has supported since v7.0.9.
  • deploy.yml: actions/checkout@v4 → @v7, actions/setup-node@v4 → @v7. Since setup-node v5 it caches automatically, but only when package.json has a packageManager field, which ours doesn't, so the install step behaves as before. peaceiris/actions-gh-pages@v4 already runs on node24 (it isn't in the warning), so it stays as it is.

Verification: the deploy build on this PR, plus a temporary workflow (run, now dropped from the branch) that ran the action from this branch in mode: check on clice's docs, both without Node 20 annotations. Publish can't run off main; the next sync PR from a source repo will exercise create-pull-request v8.

actions/checkout@v4, actions/setup-node@v4 and
peter-evans/create-pull-request@v7 target Node 20, which the runners
now force onto Node 24 with a deprecation warning in every deploy and
in every caller's publish run.

action.yml: checkout v7, as the rest of the repo uses, and
create-pull-request v8. v8's action.yml differs from v7's only in the
node24 runtime, so its inputs and the pull-request-number output the
action reads are unchanged; it supports checkout v6+'s separately
persisted credentials (since v7.0.9).

deploy.yml: checkout v7 and setup-node v7. setup-node's automatic
caching (v5+) needs a packageManager field, which package.json lacks,
so the install is unchanged. peaceiris/actions-gh-pages@v4 already runs
on Node 24.
@16bit-ykiko
16bit-ykiko force-pushed the ci/bump-node20-actions branch from 111f162 to 0aa82a1 Compare October 17, 2026 11:56
@16bit-ykiko
16bit-ykiko merged commit 19ab904 into main Oct 17, 2026
1 check passed
@16bit-ykiko
16bit-ykiko deleted the ci/bump-node20-actions branch October 17, 2026 11:58
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.

1 participant