Skip to content

Refresh pnpm lockfile in release PRs#1226

Merged
graygilmore merged 1 commit into
mainfrom
gg-bump-lockfile-in-release-pr
Jun 8, 2026
Merged

Refresh pnpm lockfile in release PRs#1226
graygilmore merged 1 commit into
mainfrom
gg-bump-lockfile-in-release-pr

Conversation

@graygilmore

@graygilmore graygilmore commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates the release orchestrator so generated Changesets release PRs refresh pnpm-lock.yaml after changeset version.

Why

The first release attempt after the pnpm migration bumped package manifests but left pnpm-lock.yaml with old workspace specifiers, so pnpm install --frozen-lockfile failed after merge. pnpm stores workspace dependency specifiers in the lockfile, so the generated release PR needs to include that diff too.

Changesets updates package manifests during release PR generation, but pnpm also tracks workspace dependency specifiers in pnpm-lock.yaml. Run a lockfile-only install after versioning so the release branch includes the matching lockfile instead of failing CI after merge.
@graygilmore graygilmore force-pushed the gg-bump-lockfile-in-release-pr branch from c6ef2ff to 48edd4c Compare June 8, 2026 15:42
@graygilmore graygilmore merged commit 5a127d2 into main Jun 8, 2026
8 checks passed
@graygilmore graygilmore deleted the gg-bump-lockfile-in-release-pr branch June 8, 2026 16:16
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.

3 participants