Skip to content

ci: bump release.yml actions to Node 24 majors#89

Merged
WKJBryan merged 1 commit into
mainfrom
chore/bump-actions-node24
Jun 17, 2026
Merged

ci: bump release.yml actions to Node 24 majors#89
WKJBryan merged 1 commit into
mainfrom
chore/bump-actions-node24

Conversation

@WKJBryan

Copy link
Copy Markdown
Owner

Summary

Clears the Node.js 20 deprecation warnings that surfaced during the v0.2.0 release. GitHub is force-running these Node-20 actions on Node 24; this bumps the first-party actions/* in release.yml to their current Node-24 majors.

Action Before After Node 24 since
actions/github-script v7 v9 v8
actions/upload-artifact v4 v7 v6
actions/download-artifact v4 v8 v7

Breaking-change review (verified safe for our usage)

  • github-script v9 — only breaks require('@actions/github') / redeclaring getOctokit. Our 3 script blocks only require('fs') (an injected Node built-in), so unaffected.
  • upload-artifact v7 — adds opt-in archive param (default true, unchanged behavior); our inputs (name/path/retention-days) unchanged.
  • download-artifact v8 — now errors on hash mismatch (secure-by-default; won't fire for valid downloads) and still supports our pattern + merge-multiple inputs.

Testing note

These actions appear only in release.yml, which triggers on tag push — not on PRs. So this PR's CI (test.yml + release-smoke.yml) will pass but won't exercise the change. Real validation happens at the next release tag, or via a workflow_dispatch dry-run of release.yml.

Scope intentionally excludes the node-version: '20' setup-node inputs (the job's own script runtime, not an action runtime) and third-party actions (rust-cache, tauri-action).

🤖 Generated with Claude Code

GitHub is forcing actions/github-script@v7 and actions/upload-artifact@v4
(both Node 20) onto Node 24 with a deprecation warning. Bump the
first-party actions in release.yml to their current Node 24 majors:

- actions/github-script  v7 -> v9 (node24)
- actions/upload-artifact v4 -> v7 (node24)
- actions/download-artifact v4 -> v8 (node24)

Verified against changelogs that the breaking changes do not affect our
usage:
- github-script v9 only breaks require('@actions/github') / redeclaring
  getOctokit; our scripts only require('fs') (an injected built-in).
- upload-artifact v7 adds an opt-in `archive` param (default unchanged).
- download-artifact v8 now errors on hash mismatch (secure-by-default;
  won't trigger for valid downloads) and still supports pattern +
  merge-multiple.

These actions are only referenced in release.yml, which runs on tag push
(not PRs), so PR CI will not exercise them; validated at next release tag.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@WKJBryan WKJBryan merged commit ae851a0 into main Jun 17, 2026
10 checks passed
@WKJBryan WKJBryan deleted the chore/bump-actions-node24 branch June 17, 2026 15:15
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