Skip to content

ci: update actions to latest majors and run tests on PRs - #122

Merged
futamura merged 1 commit into
developfrom
ci/update-actions
Jul 26, 2026
Merged

ci: update actions to latest majors and run tests on PRs#122
futamura merged 1 commit into
developfrom
ci/update-actions

Conversation

@futamura

Copy link
Copy Markdown
Owner

Summary

Actions version updates (Node.js 20 runtime deprecation)

Action Before After
actions/checkout v4 v7
actions/setup-node v4 v7
codecov/codecov-action v4 v7
pnpm/action-setup v4 v6

Latest majors all run on the node24 action runtime. Compatibility notes:

  • checkout v7: fork-PR restriction applies only to pull_request_target / workflow_run (not used here)
  • setup-node v6 breaking change limits automatic cache detection to npm — explicit cache: 'pnpm' is unaffected
  • pnpm/action-setup v6: node24 + pnpm v11 support; version input unchanged

develop.yaml: PR-stage tests

  • Enable pull_request trigger (base: develop) — lint/test now gate PRs before merge; this PR itself is the first validation run
  • release (semantic-release dry-run) runs only on push events
  • Add concurrency group to cancel superseded runs

Follow-up (after merge)

Add tests-result as a required status check on the develop branch protection (doing it before this merge would block this PR, since the check does not exist on PRs yet).

- actions/checkout v4 -> v7, actions/setup-node v4 -> v7,
  codecov/codecov-action v4 -> v7, pnpm/action-setup v4 -> v6
  (Node.js 20 action runtime is deprecated; latest majors run on
  node24)
- enable pull_request trigger on develop.yaml so lint/test gate
  PRs before merge instead of only after push to develop
- run semantic-release dry-run only on push events (PRs do not
  need it)
- add concurrency group to cancel superseded runs
@futamura
futamura merged commit 1e45388 into develop Jul 26, 2026
7 checks passed
@futamura
futamura deleted the ci/update-actions branch July 26, 2026 07:45
@futamura

Copy link
Copy Markdown
Owner Author

🎉 This PR is included in version 4.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant