Skip to content

ci: install pnpm in the Shipit production deploy - #963

Merged
lucyxiang merged 1 commit into
mainfrom
ci/shipit-install-pnpm
Nov 4, 2026
Merged

lucyxiang merged 1 commit into
mainfrom
ci/shipit-install-pnpm

Conversation

@lucyxiang

@lucyxiang lucyxiang commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

TL;DR: The production deploy fails with pnpm: command not found. This PR installs pnpm before the deploy runs pnpm.

The Yarn to pnpm migration changed shipit.production.yml to run pnpm install and pnpm run deploy. The deploy environment does not have pnpm, so the first deploy after the migration failed in the dependencies step.

What this changes

  • Installs pnpm 10.16.1, the version in packageManager in package.json, with the official install script.
  • Runs the pnpm commands through bash -i, so that PATH includes the pnpm that the install script adds to .bashrc.

The Shipit image has no pnpm, so the deploy failed with
"pnpm: command not found". Install pnpm 10.16.1, the version in
packageManager, and run pnpm through bash -i so that PATH includes it.
@lucyxiang
lucyxiang requested a review from a team as a code owner November 4, 2026 19:06
@lucyxiang
lucyxiang merged commit 01ee86b into main Nov 4, 2026
5 checks passed
@lucyxiang
lucyxiang deleted the ci/shipit-install-pnpm branch November 4, 2026 19:21

This branch was successfully deployed

1 active deployment
production — 98d19f57 Deployed Nov 4, 2026 by shopify-shipit[bot]
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.

2 participants