-
Notifications
You must be signed in to change notification settings - Fork 720
Description
Affected Packages
I'm not sure 😬 I am not a CI expert -- this is as much a cry for help as it is a bug report!
Problem
I have a monorepo with two packages being managed by pnpm. package-1 and package-2 are linked, and package-2 depends upon package-1.
When package-1 receives a version bump, package-2's version is also bumped. This is what I want. However, because package-2's dependency upon package-1 is also bumped, the lockfile in the root of the monorepo becomes out of date, meaning the release action from merging the changeset PR fails (because pnpm i --frozen-lockfile fails).
Right now, I'm working around this by explicitly running pnpm i --no-frozen-lockfile in my CI, but this is not ideal -- it means I immediately have to open a PR to update the lockfile every time I publish changes through the changeset action.
What's the suggested path here?