ci: fix deploy workflow pnpm/lockfile (restore production deploy)#45
Merged
Conversation
The deploy workflow had the same broken install as the build workflow (fixed in #43): pnpm@8.8.0 cannot read the v9 lockfile and a non-frozen install re-resolves to an incompatible webpack, breaking the production build before the Cloudflare Pages deploy. Apply the same fix here so deploys to main build the exact, tested dependency tree. Closes #44 Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
Production Deploy to Cloudflare Pages broke on
mainright after #43 merged. #43 fixed the same bug inpr.ymlbutdeploy.yamlwas missed — it still ranpnpm@8.8.0+ non-frozenpnpm install, which can't read the v9pnpm-lock.yaml, re-resolves to an incompatiblewebpack, and fails theBuild productionstep with aProgressPluginValidationError.This applies the identical fix to
deploy.yaml:pnpm@10+pnpm install --frozen-lockfile.Evidence
Build production→ ValidationError;Bump Version/pre-runwere fine)Build(pr.yml) onmainis already green after fix(security): bump shell-quote to >=1.8.4 (CVE-2026-9277) #43.Closes #44
Made with Cursor