Pin pnpm to 11.11.0 via packageManager field#283
Merged
Conversation
CI floated on pnpm/action-setup's `version: 11`, resolving to whatever latest-11 is at run time; a freshly published release broke the action's self-installer and failed the Zombienet Smoke Test job before any test ran. Declare the exact version (with integrity hash) in package.json's packageManager field and drop the action's version input so pnpm/action-setup resolves from the single source of truth that local pnpm also respects.
bkontur
approved these changes
Jul 13, 2026
Collaborator
@danielbui12 Which error exactly? can you link the CI failed job please? |
Member
Author
|
@bkontur recent jobs in these PR. I'm still verifying them
All of them failed with the same error |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub. |
Member
Author
|
Found an similar issue on |
pnpm's self-switcher (used by pnpm/action-setup for packageManager pins) fails with "Cannot use 'in' operator to search for 'integrity' in undefined" when the target version is 11.12.0. Pin 11.11.0, which the switcher installs fine, and document the constraint in the action.
bkontur
enabled auto-merge
July 13, 2026 09:59
bkontur
disabled auto-merge
July 13, 2026 10:16
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.
Background
with: version: 11, resolving to whatever latest-11 is at run time causing recent CIs failurepnpm/action-setuprepohttps://github.com/pnpm/action-setup/issues/276. It is due to their package bugChanges
Declare the exact version (with integrity hash) in package.json's packageManager field and drop the action's version input so pnpm/action-setup resolves from the single source of truth that local pnpm also respects.