chore(ci): upgrade actions to Node 24 runtimes - #110
Open
geekbrother wants to merge 1 commit into
Open
Conversation
GitHub deprecated the Node.js 20 runtime; actions declaring `runs.using: node20` (or node16) are force-run on Node 24 and will stop working once the fallback is removed. Because these composite actions are consumed across the org, every node20 action in here surfaces the deprecation warning in every consumer repo's workflow runs. Bumps each action to the newest major that declares `runs.using: node24`: actions/checkout v4 -> v7 (SHA pin v5 -> v7) actions/cache v4 -> v6 actions/setup-node v4 -> v7 actions/setup-python v5 -> v7 actions/upload-artifact v4 -> v7 (SHA pin v4 -> v7) actions/download-artifact SHA v4 -> v8 actions/github-script v7 -> v9 aws-actions/configure-aws-credentials v4 -> v6 hashicorp/setup-terraform v3 -> v4 dorny/paths-filter v3 -> v4 pnpm/action-setup v4 -> v6 softprops/action-gh-release v1 -> v3 stefanzweifel/git-auto-commit-action v5 -> v7 webfactory/ssh-agent v0.9.0 -> v0.10.0 Three dependencies have no Node 24 release upstream and are left as-is: contributor-assistant/github-action@v2.6.1, pozetroninc/github-action-get- latest-release@v0.7.0 and the org's own WalletConnect/actions-rs/toolchain fork. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
Why
GitHub deprecated the Node.js 20 runtime. Actions declaring
runs.using: node20(ornode16) are currently force-run on Node 24 and will break once that fallback is removed.This repo matters more than a normal consumer: these composite actions are used across the WalletConnect org, so every outdated action pinned in here emits the deprecation warning in every consumer repo's workflow runs, and no consumer-side change can fix it.
Companion PR for the reusable workflows: WalletConnect/ci_workflows (see linked PR).
WalletConnect/infra#543fixes the repo the alert was originally reported from.Change
Each action bumped to the newest major that declares
runs.using: node24, verified by readingaction.ymlat the target tag rather than assuming:actions/checkout93cb6efe(v5)3d3c42e5actions/cacheactions/setup-nodeactions/setup-pythonactions/upload-artifactea165f8d(v4)043fb46dactions/download-artifactd3f86a10(v4)3e5f45b2(v8)actions/github-scriptaws-actions/configure-aws-credentialshashicorp/setup-terraformdorny/paths-filterpnpm/action-setupsoftprops/action-gh-releasestefanzweifel/git-auto-commit-actionwebfactory/ssh-agentSHA-pinned entries keep their pinning style, with the trailing
# vNcomment updated to match.Breaking changes reviewed
github-script@v9—require('@actions/github')no longer works (that package is now ESM-only), andgetOctokitis an injected parameter that scripts must not redeclare withconst/let. Both scripts in this repo were checked:github/latest_releaseuses onlycontext/process.env, andterraform/planusesrequire('fs')(a Node builtin, still supported) plusgithub.rest.issues.createComment. Neither is affected.git-auto-commit-action— v6 droppedskip_fetch/skip_checkout/create_branch; v7 restored them. Going v5 → v7 avoids that gap.action-gh-release@v2was a runtime-only bump (node16 → node20); v3 is node20 → node24. No input changes across either.pnpm/action-setup@v5was runtime-only; v6 adds pnpm v11 support. Inputs unchanged.checkout@v7refuses to check out fork PR code underpull_request_target/workflow_run. No workflow here uses either trigger with a fork ref.ssh-agent@v0.10.0,paths-filter@v4,setup-terraform@v4,configure-aws-credentials@v6are runtime-only bumps for the inputs used here.Not fixed — no Node 24 release exists upstream
contributor-assistant/github-action@v2.6.1github/cta-assistantpozetroninc/github-action-get-latest-release@v0.7.0github/latest_releaseWalletConnect/actions-rs/toolchain@2.0.0github/update-rust-versionactions-rs; node20, needs a fix in that forkThese three will keep emitting the warning until upstream ships Node 24 (or, for the fork, until we update it ourselves). Worth tracking separately.
Follow-up needed after merge
Consumers pin this repo by tag (
WalletConnect/actions/...@2.5.4,@2.5.5,@2.5.6). A new release tag has to be cut for the fix to reach them — repos pinned to@masterpick it up immediately, but tag-pinned consumers will not.Verification
uses:ref in this repo resolves to a node12/node16/node20 action any more, except the three listed above.🤖 Generated with Claude Code