Skip to content

build(deps): bump pnpm/setup from 1 to 2 - #4

Merged
ScriptedAlchemy merged 2 commits into
mainfrom
dependabot/github_actions/pnpm/setup-2
Aug 28, 2026
Merged

ScriptedAlchemy merged 2 commits into
mainfrom
dependabot/github_actions/pnpm/setup-2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

Bumps pnpm/setup from 1 to 2.

Release notes

Sourced from pnpm/setup's releases.

v2.0.0

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, no self-update round-trip.

That also makes the action immune to broken npm artifacts. pnpm 11.13.0's @pnpm/exe build shipped without its platform binary, which made v1 install a placeholder file that failed later with This: not found and exit code 127. The GitHub release binary for that same version is fine, so v2 installs it correctly. v2 additionally verifies the install by running pnpm --version and 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. v1 could set up pnpm 10 via pnpm self-update; v2 rejects anything below v11 with an explanatory error. The action is built around pnpm's self-contained release binaries and the pnpm runtime command, both of which arrived in v11.

If you need pnpm 10 or older, use pnpm/action-setup instead.

The bin-dest output points somewhere new. It was ~/setup-pnpm/node_modules/.bin/bin; it is now ~/setup-pnpm (the dest directory itself). Workflows that read the output are unaffected — it still names the directory holding pnpm — but anything that hardcoded the old path needs updating.

cache-hit is stricter. It is now true only on an exact key match. v1 reported true for any restore. This matches what actions/cache means by cache-hit.

No inputs or outputs were removed or renamed.

What's new

  • Flexible version specs. version accepts 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 when packageManager or devEngines.packageManager is set in package.json.
  • Partial store cache reuse. Cache restore now falls back to restore keys, so a single changed dependency no longer forces a full re-download of the store.
  • New token input. 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, and pnx aliases are linked next to the pnpm binary.

Upgrading

For most workflows the upgrade is the tag:

-      - uses: pnpm/setup@v1
+      - uses: pnpm/setup@v2

Check first that the pnpm version you install — via the version input, packageManager, or devEngines.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.

Commits
  • 84cb39b fix: keep the installed runtime authoritative against context-aware shims (#25)
  • ed0c46d feat: install pnpm from the npm registry, verified against npm's signature (#24)
  • 4700d73 README: bump versions (node, actions/setup) (#20)
  • 34ec361 fix: normalize Windows cache store paths (#22)
  • c9883cc docs: reference v2 in examples; update pnpm to v12.0.0-beta.4 (#16)
  • 4f13ee5 refactor: introduce restore keys for cache (#14)
  • 6523ce9 feat: support pnpm v11 by downloading from GitHub releases (#12)
  • 6bfbb82 feat!: install pnpm v12 as a standalone native executable (#11)
  • 77cf068 docs: update version in examples
  • See full diff in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Aug 27, 2026
@changeset-bot

changeset-bot Bot commented Aug 27, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: adf409a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Aug 27, 2026 •

Copy link
Copy Markdown
npm i https://pkg.pr.new/ScriptedAlchemy/agent-bundle@4
npm i https://pkg.pr.new/ScriptedAlchemy/agent-bundle/@agent-bundle/rsc-runtime@4

commit: adf409a

@dependabot dependabot Bot changed the title build(deps): bump pnpm/setup from 1 to 2 chore(deps): bump pnpm/setup from 1 to 2 Aug 28, 2026
@dependabot
dependabot Bot force-pushed the dependabot/github_actions/pnpm/setup-2 branch from 57ec9c6 to 5c04209 Compare August 28, 2026 05:37
@ScriptedAlchemy

Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot dependabot Bot changed the title chore(deps): bump pnpm/setup from 1 to 2 build(deps): bump pnpm/setup from 1 to 2 Aug 28, 2026
@dependabot
dependabot Bot force-pushed the dependabot/github_actions/pnpm/setup-2 branch from 5c04209 to 714b372 Compare August 28, 2026 05:55
@ScriptedAlchemy

Copy link
Copy Markdown
Owner

@dependabot rebase

Bumps [pnpm/setup](https://github.com/pnpm/setup) from 1 to 2.
- [Release notes](https://github.com/pnpm/setup/releases)
- [Commits](pnpm/setup@v1...v2)

---
updated-dependencies:
- dependency-name: pnpm/setup
  dependency-version: '2'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/github_actions/pnpm/setup-2 branch from 714b372 to 28a4202 Compare August 28, 2026 06:16
Co-authored-by: Zack Jackson <ScriptedAlchemy@users.noreply.github.com>
@ScriptedAlchemy
ScriptedAlchemy merged commit bad168b into main Aug 28, 2026
21 of 23 checks passed
@dependabot
dependabot Bot deleted the dependabot/github_actions/pnpm/setup-2 branch August 28, 2026 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants