Skip to content

Conversation

bolinfest
Copy link
Collaborator

@bolinfest bolinfest commented Sep 8, 2025

Dependabot tried to automatically upgrade us to actions/setup-node@v5 in #3293, but it broke our CI. Note this upgrade has breaking changes:

https://github.com/actions/setup-node/releases/tag/v5.0.0

I think the problem was that v5 was correctly reading our packageManager line here:

"packageManager": "[email protected]"

and then tried to run pnpm, but couldn't because it wasn't available yet. This PR:

  • moves pnpm/action-setup before actions/setup-node
  • drops version from our pnpm/action-setup step because it is not necessary when it is specified in package.json (which it is in our case), so leaving it here ran the risk of the two getting out of sync
  • upgrades actions/setup-node from v4 to v5
  • deletes the two custom steps we had to enable Node.js caching since v5 claims to do this for us now
  • adds --frozen-lockfile to our pnpm install invocation, which seemed like something we should have always had there

@bolinfest bolinfest merged commit 0525b48 into main Sep 8, 2025
18 checks passed
@bolinfest bolinfest deleted the pr3316 branch September 8, 2025 16:35
@github-actions github-actions bot locked and limited conversation to collaborators Sep 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants