Skip to content

Update GitHub Actions away from Node.js 20 runtime #193

@jsgrrchg

Description

@jsgrrchg

Context

GitHub Actions emitted a warning in PR #192 (Validate Release Metadata) that some actions are still running on the Node.js 20 action runtime.

This is separate from the app/tooling Node version. Our workflows install Node.js 22 for project commands, but several GitHub Actions themselves still execute internally on Node.js 20.

GitHub's warning says Node.js 20 actions are deprecated and that actions will be forced to run with Node.js 24 by default starting June 16, 2026. Node.js 20 will be removed from the runner on September 16, 2026.

Affected workflows/actions

Current workflows contain these Node 20 action-runtime versions:

  • .github/workflows/ci.yml
    • actions/checkout@v4
    • actions/setup-node@v4
    • pnpm/action-setup@v4
  • .github/workflows/validate-release-metadata.yml
    • actions/checkout@v4
    • actions/setup-node@v4
  • .github/workflows/electron-package-smoke.yml
    • actions/checkout@v4
    • actions/setup-node@v4
  • .github/workflows/release-desktop.yml
    • actions/checkout@v4
    • actions/setup-node@v4
    • actions/upload-artifact@v4
    • actions/download-artifact@v4
    • pnpm/action-setup@v4

Swatinem/rust-cache@v2 already reports runs.using: node24, so it does not appear to need action-runtime remediation.

Candidate updates

Verified latest major lines currently use the Node.js 24 action runtime:

  • actions/checkout@v4 -> actions/checkout@v6
  • actions/setup-node@v4 -> actions/setup-node@v6
  • actions/upload-artifact@v4 -> actions/upload-artifact@v7
  • actions/download-artifact@v4 -> actions/download-artifact@v8
  • pnpm/action-setup@v4 -> pnpm/action-setup@v6

Validation plan

After updating the actions:

  • Run PR CI.
  • Run Validate Release Metadata.
  • Run or manually dispatch Electron Package Smoke if the changed action versions affect packaging jobs.
  • For release workflows, review artifact upload/download behavior carefully because artifact action major-version bumps can include behavior changes.

Coordination

Re-evaluate this issue after both pending release-pipeline PRs are merged, because they modify .github/workflows/release-desktop.yml and related release automation:

Once both PRs land, re-scan the final workflow state before applying the GitHub Actions major-version updates.

Metadata

Metadata

Assignees

Labels

dependenciesPull requests that update a dependency file

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions