Conversation
There was a problem hiding this comment.
Pull request overview
Maintenance update to the CI workflow to use the latest major version of actions/setup-node, keeping the repository’s GitHub Actions configuration in line with current action versions.
Changes:
- Bump
actions/setup-nodefromv3tov4in CI workflow.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -18,7 +18,7 @@ jobs: | |||
| uses: actions/checkout@v3 | |||
There was a problem hiding this comment.
This workflow still uses actions/checkout@v3. To keep GitHub Actions dependencies aligned with current recommended majors (and pick up security/runtime updates), consider upgrading to actions/checkout@v4 as well.
| uses: actions/checkout@v3 | |
| uses: actions/checkout@v4 |
| with: | ||
| cache: "yarn" | ||
| node-version: "18" |
There was a problem hiding this comment.
Since this PR updates setup-node, it may be a good time to also revisit the other core actions in this workflow: actions/cache is currently on v2 (later in the file). Upgrading to the latest major (e.g., actions/cache@v4) helps keep the workflow on a supported runtime and picks up bug/security fixes.
Maintenance update to setup-node@v4 to align with the current best practices; nothing else modified. Refer to v4.0.0 release notes for details.