Skip to content

ci(config): bump node-20 actions to node-24 majors in snapshot/release/web-deploy#2212

Merged
bpamiri merged 1 commit into
developfrom
claude/node20-action-bumps
Apr 22, 2026
Merged

ci(config): bump node-20 actions to node-24 majors in snapshot/release/web-deploy#2212
bpamiri merged 1 commit into
developfrom
claude/node20-action-bumps

Conversation

@bpamiri

@bpamiri bpamiri commented Apr 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

Clears the "Node.js 20 actions are deprecated" warnings that GitHub emits on the Wheels Snapshots and Deploy static sites workflows. GitHub will force Node 24 starting June 2, 2026 and remove Node 20 on September 16, 2026 — getting ahead of it now.

What the warnings said

From the latest snapshot + deploy runs:

  • `Wheels Snapshots` → `actions/checkout@v4`, `actions/upload-artifact@v4`, `softprops/action-gh-release@v1`, `actions/setup-node@v4`, `pnpm/action-setup@v4`, `actions/cache@v4`, `actions/setup-java@v4`
  • `Deploy static sites` → `actions/checkout@v4`, `actions/setup-node@v4`, `pnpm/action-setup@v4`, `actions/cache@v4` (Visual regression job also listed `actions/cache@v4`)

Changes

File Action Before After
snapshot.yml setup-java v4 v5
snapshot.yml cache v4 v5
snapshot.yml checkout v4 v6
snapshot.yml setup-node v4 v6
snapshot.yml pnpm/action-setup v4 v5
web-deploy.yml checkout (×2) v4 v6
web-deploy.yml pnpm/action-setup (×2) v4 v5
web-deploy.yml setup-node (×2) v4 v6
web-deploy.yml cache v4 v5
web-deploy.yml upload-artifact v4 v7
release.yml checkout v4 v6
release.yml upload-artifact (×7) v4 v7
release.yml softprops/action-gh-release (×2) v1 v3

`release.yml` is bumped because it's called from `snapshot.yml` via `uses: ./.github/workflows/release.yml` and its annotations show up in snapshot runs.

Notes

  • Already-Node-24 actions (`actions/checkout@v5`, `actions/upload-artifact@v6`, `actions/download-artifact@v6`) left alone to minimise churn.
  • All version bumps are internal-runtime / hardening updates — no schema or input changes that affect our usage (`files:`, `tag_name:`, `body:`, etc. for gh-release; pnpm install flow for pnpm/action-setup; same inputs for cache/checkout/setup-node).
  • Not in scope: other workflows (`pr.yml`, `docs-verify.yml`, `release-candidate.yml`, `deploy-ci.yml`, `generate-changelog.yml`, `version-bump.yml`, `publish-chocolatey.yml`) carry the same class of warnings. Can be rolled up into a follow-up PR once this one lands and proves the bumps are harmless.

Test plan

  • `Wheels Snapshots` workflow runs green with no Node 20 deprecation annotations
  • `Deploy static sites` runs green with no Node 20 annotations
  • Released artifact names / paths unchanged (`upload-artifact@v4→v7` keeps artifact name conventions — but a release dry-run on the branch would confirm)

…e/web-deploy

GitHub flagged these workflows with "Node.js 20 actions are deprecated"
warnings. All listed actions have Node-24 major releases available.

snapshot.yml:
  setup-java@v4  -> v5
  cache@v4       -> v5
  checkout@v4    -> v6
  setup-node@v4  -> v6
  pnpm/action-setup@v4 -> v5

web-deploy.yml:
  checkout@v4        -> v6
  pnpm/action-setup@v4 -> v5
  setup-node@v4      -> v6
  cache@v4           -> v5
  upload-artifact@v4 -> v7

release.yml (called by snapshot):
  checkout@v4                       -> v6
  upload-artifact@v4 (7 occurrences) -> v7
  softprops/action-gh-release@v1     -> v3

Actions already on Node 24 majors (checkout@v5, upload-artifact@v6,
download-artifact@v6) left alone to minimise churn. Other workflows
(pr.yml, docs-verify.yml, release-candidate.yml, etc.) carry the same
deprecation warnings but are out of scope for this change.
@bpamiri
bpamiri merged commit 4040c1e into develop Apr 22, 2026
8 checks passed
@bpamiri
bpamiri deleted the claude/node20-action-bumps branch April 22, 2026 18:24
bpamiri added a commit that referenced this pull request Apr 22, 2026
…orkflows (#2213)

* ci(config): bump node-20 actions to node-24 majors across remaining workflows

Follow-up to #2212. Applies the same Node-24 migration to the remaining
workflows that still carried the "Node.js 20 actions are deprecated"
warnings.

pr.yml:
  checkout@v4, setup-node@v4 -> v6
  setup-java@v4              -> v5
  cache@v4                   -> v5

release-candidate.yml:
  checkout@v4                          -> v6
  upload-artifact@v4 (6 occurrences)   -> v7
  softprops/action-gh-release@v1       -> v3

deploy-ci.yml:
  setup-java@v4 -> v5

docs-verify.yml:
  checkout@v4             -> v6
  pnpm/action-setup@v4    -> v5
  setup-node@v4           -> v6

generate-changelog.yml, version-bump.yml:
  checkout@v4 -> v6

publish-chocolatey.yml:
  checkout@v4        -> v6
  upload-artifact@v4 -> v7

* ci(config): strip FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 escape hatch from pr.yml

Every action in the fast-test job now targets Node 24 natively after the
version bumps in this PR, so the blanket force-flag is dead weight.
Removing it.
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