Skip to content

chore: update GitHub Actions runtimes - #239

Open
zhuangya wants to merge 2 commits into
mattpocock:mainfrom
zhuangya:update-actions-node24
Open

chore: update GitHub Actions runtimes#239
zhuangya wants to merge 2 commits into
mattpocock:mainfrom
zhuangya:update-actions-node24

Conversation

@zhuangya

@zhuangya zhuangya commented Jul 8, 2026

Copy link
Copy Markdown

Summary

  • update GitHub Actions workflows from Node 20-based action versions to Node 24-compatible versions
  • run CI and publish jobs on Node 24
  • add explicit least-privilege workflow permissions
  • format existing test files that failed the repository's current format:check CI step

Details

This updates:

  • actions/checkout@v4actions/checkout@v7
  • pnpm/action-setup@v4pnpm/action-setup@v6
  • actions/setup-node@v4actions/setup-node@v6
  • node-version: 20.xnode-version: 24.x

It also adds explicit workflow token permissions:

  • CI: contents: read
  • Publish: contents: write, pull-requests: write

Validation

  • Parsed both workflow YAML files locally
  • Ran git diff --check
  • Checked there are no remaining Node 20 / old v4 action references in .github/workflows
  • Ran pnpm run ci locally

I intentionally did not add a publish environment gate here, to avoid changing the current release approval flow.

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