Skip to content

ci: build dist/ before the Shipit production upload - #964

Merged
lucyxiang merged 1 commit into
mainfrom
ci/shipit-build-before-deploy
Nov 4, 2026
Merged

lucyxiang merged 1 commit into
mainfrom
ci/shipit-build-before-deploy

Conversation

@lucyxiang

@lucyxiang lucyxiang commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

TL;DR: The production deploy now installs pnpm, but it fails with ENOENT: no such file or directory, scandir 'dist'. This PR builds dist/ before the upload.

The deploy failed with "ENOENT: no such file or directory, scandir 'dist'".
Yarn v1 ran the prepublish script, which built dist/, after yarn install.
The pnpm migration renamed it to prepublishOnly, which pnpm install does
not run. Run pnpm run build before pnpm run deploy.
@lucyxiang
lucyxiang requested a review from a team as a code owner November 4, 2026 19:42
@lucyxiang
lucyxiang merged commit 9a1017a into main Nov 4, 2026
5 checks passed
@lucyxiang
lucyxiang deleted the ci/shipit-build-before-deploy branch November 4, 2026 19:45

This branch was successfully deployed

1 active deployment
production — 384ed892 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