Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Sep 28, 2025

Updates all GitHub workflow files to use actions/setup-node@v5.0.0 instead of the previous v4.4.0 version, and adds package-manager-cache: false to disable automatic package manager caching.

Changes

  • .github/workflows/ts.yaml: Updated both the test and generate jobs to use setup-node v5
  • .github/workflows/release.yaml: Updated the tag job to use setup-node v5

Each actions/setup-node step now includes:

- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
  with:
    node-version-file: .node-version
    package-manager-cache: false

This ensures consistent behavior across all workflows by explicitly disabling the package manager cache feature introduced in setup-node v4, preventing potential caching conflicts with the manual pnpm installation steps that follow.

Verification

  • All YAML files remain syntactically valid
  • Local builds and tests continue to pass
  • Changes are minimal and focused only on the required updates
Original prompt

Update actions/setup-node to v5

Goal

  • All workflows using actions/setup-node should be updated to v5.
  • If package-manager-cache is not set to false, it should be added.

Steps

Update the workflows in .github/workflows/ directory as below.

Before

steps:
  - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
    with:
      node-version-file: .node-version

After

steps:
  - uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
    with:
      node-version-file: .node-version
      package-manager-cache: false

💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@int128 int128 changed the title # Update actions/setup-node to v5 ## Goal - All workflows using actions/setup-node should be updated to v5. - If package-manager-cache is not set to false, it should be added. ## Steps Update the workflows in .github/workflows/ directory as... Update actions/setup-node to v5 Sep 28, 2025
Co-authored-by: int128 <321266+int128@users.noreply.github.com>
Copilot AI changed the title Update actions/setup-node to v5 Update actions/setup-node to v5.0.0 with package-manager-cache disabled Sep 28, 2025
Copilot AI requested a review from int128 September 28, 2025 08:06
@int128 int128 marked this pull request as ready for review September 28, 2025 08:12
@int128 int128 merged commit 72be847 into main Sep 28, 2025
6 checks passed
@int128 int128 deleted the copilot/fix-d1d9fc2a-7467-4650-a2e7-cbce259ab9e2 branch September 28, 2025 08:12
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.

2 participants