chore(deps): update pnpm/setup action to v2 - #488
Open
squiggler-app[bot] wants to merge 1 commit into
Open
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1→v2v2.0.1Release Notes
pnpm/setup (pnpm/setup)
v2.0.0Compare Source
The action no longer installs pnpm through npm. It downloads pnpm's self-contained release binary for the runner's platform straight from pnpm's GitHub releases, verifies it against the SHA-256 digest GitHub publishes for the asset, and puts it on
PATH. No Node.js, no npm, no@pnpm/exe, noself-updateround-trip.That also makes the action immune to broken npm artifacts. pnpm 11.13.0's
@pnpm/exebuild shipped without its platform binary, which madev1install a placeholder file that failed later withThis: not foundand exit code 127. The GitHub release binary for that same version is fine, sov2installs it correctly.v2additionally verifies the install by runningpnpm --versionand comparing it against the requested version, so a bad artifact fails immediately with a clear message instead of surfacing as a confusing error in a later step.Breaking changes
pnpm v11 or newer is required.
v1could set up pnpm 10 viapnpm self-update;v2rejects anything below v11 with an explanatory error. The action is built around pnpm's self-contained release binaries and thepnpm runtimecommand, both of which arrived in v11.If you need pnpm 10 or older, use
pnpm/action-setupinstead.The
bin-destoutput points somewhere new. It was~/setup-pnpm/node_modules/.bin/bin; it is now~/setup-pnpm(thedestdirectory itself). Workflows that read the output are unaffected — it still names the directory holdingpnpm— but anything that hardcoded the old path needs updating.cache-hitis stricter. It is nowtrueonly on an exact key match.v1reportedtruefor any restore. This matches whatactions/cachemeans bycache-hit.No inputs or outputs were removed or renamed.
What's new
versionaccepts an exact version (12.0.0-beta.4), a semver range (^12.0.0), or an npm dist-tag (next-12). It is still optional whenpackageManagerordevEngines.packageManageris set inpackage.json.tokeninput. Used for the GitHub release lookup, defaulting to${{ github.token }}so the low anonymous API rate limit doesn't apply. It rarely needs to be set.pnpx,pn, andpnxaliases are linked next to thepnpmbinary.Upgrading
For most workflows the upgrade is the tag:
Check first that the pnpm version you install — via the
versioninput,packageManager, ordevEngines.packageManager— is v11 or newer.One platform caveat: pnpm v11 publishes no binary for Intel macOS (
darwin-x64). Use pnpm v12 or newer on Intel macOS runners.v2Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate using a curated preset maintained by
. View repository job log here