Skip to content

feat: add pnpm-version parameter to install command and run job - #592

Open
esetnik wants to merge 1 commit into
cypress-io:masterfrom
esetnik:claude/choreci-pnpm-cypress-orb-fq2avy
Open

feat: add pnpm-version parameter to install command and run job#592
esetnik wants to merge 1 commit into
cypress-io:masterfrom
esetnik:claude/choreci-pnpm-cypress-orb-fq2avy

Conversation

@esetnik

@esetnik esetnik commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

When package-manager is set to pnpm, the orb runs node/install with install-pnpm: true and no version, so the node orb resolves the latest pnpm release (via jsdelivr) and runs npm install -g pnpm@. Behind registry proxies or version-filtering firewalls (Artifactory, Verdaccio, release-age policies), the freshly released version may not be resolvable from the npm registry yet, failing the install with ETARGET: No matching version found for pnpm@.

Add a pnpm-version parameter to the install command and the run job, threaded through to node/install (which already supports pnpm-version), so users can pin the pnpm version. Defaults to the current behavior of installing the latest stable release.

Claude-Session: https://claude.ai/code/session_011RtNiB1ZDoFcd7oBBJFM8C

When package-manager is set to pnpm, the orb runs node/install with
install-pnpm: true and no version, so the node orb resolves the latest
pnpm release (via jsdelivr) and runs npm install -g pnpm@<latest>.
Behind registry proxies or version-filtering firewalls (Artifactory,
Verdaccio, release-age policies), the freshly released version may not
be resolvable from the npm registry yet, failing the install with
ETARGET: No matching version found for pnpm@<latest>.

Add a pnpm-version parameter to the install command and the run job,
threaded through to node/install (which already supports pnpm-version),
so users can pin the pnpm version. Defaults to the current behavior of
installing the latest stable release.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011RtNiB1ZDoFcd7oBBJFM8C
@cypress-app-bot

Copy link
Copy Markdown
Collaborator

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.

4 participants