Skip to content

ci: bump actions to v5 and drop EOL Node versions#5

Merged
asachs01 merged 1 commit into
mainfrom
ci/node24-actions
May 20, 2026
Merged

ci: bump actions to v5 and drop EOL Node versions#5
asachs01 merged 1 commit into
mainfrom
ci/node24-actions

Conversation

@asachs01
Copy link
Copy Markdown
Member

Why

The release workflow logs surfaced a deprecation warning:

Node.js 20 actions are deprecated. actions/checkout and actions/setup-node are running on Node.js 20 ... Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026.

Changes

  • actions/checkout v4.3.1 → v5.0.1, actions/setup-node v4.4.0 → v5.0.0 (both run on Node 24). Still pinned to commit SHAs per the existing policy.
  • CI test matrix [18, 20, 22][22, 24] — aligns with engines.node (>=22). Node 18 and 20 were being tested despite being unsupported by the package.
  • Release job node-version 2022 — matches the engines minimum.

Verification

CI runs on this PR across Node 22 and 24; merge gated on green.

GitHub is deprecating the Node 20 runtime that actions/checkout@v4 and
actions/setup-node@v4 run on (forced to Node 24 on 2026-06-02). Bump
both to v5, which runs on Node 24.

Also align the tested Node versions with the package's engines field
(>=22): the CI matrix drops 18 and 20 in favour of 22 and 24, and the
release job moves from Node 20 to 22. Actions remain pinned to commit
SHAs per the existing policy.
@asachs01 asachs01 merged commit d4c123c into main May 20, 2026
2 checks passed
@asachs01 asachs01 deleted the ci/node24-actions branch May 20, 2026 17:17
asachs01 added a commit that referenced this pull request May 20, 2026
…#6)

Salvages the still-relevant pieces of the abandoned fix/review-medium
branch (its exports-map fix and smoke test already landed via #3/#5):

- Regenerate package-lock.json via `npm audit fix`, clearing 16 of 19
  dev-dependency advisories (incl. the critical/high vite findings).
  The remaining 3 live inside npm's own bundled deps under
  semantic-release and are not resolvable from here.
- tsup `target` node18 -> node22, matching `engines.node` (>=22).
- config.test.ts: replace `as any` with `as unknown as SuperOpsRegion`.

No production dependencies were affected; the published package is
unchanged at runtime.
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