Skip to content

ci(release): install with --frozen-lockfile to fix changesets #121

Merged
Adedamola18 merged 1 commit into
mainfrom
fix-release-frozen-lockfile
Jun 4, 2026
Merged

ci(release): install with --frozen-lockfile to fix changesets #121
Adedamola18 merged 1 commit into
mainfrom
fix-release-frozen-lockfile

Conversation

@Adedamola18

Copy link
Copy Markdown
Member

The release job ran a non-frozen pnpm install, drifting off the committed lockfile and resolving @changesets/cli up to 2.31.0, which pulls the now ESM-only human-id@4 via @changesets/write@0.4.0. On Node 18 the CJS require() of that ESM module throws ERR_REQUIRE_ESM, crashing 'changeset version' before the Version Packages PR could be created.

Pinning to the frozen lockfile keeps the proven CJS chain (@changesets/cli@2.27.8 -> @changesets/write@0.3.2 -> human-id@1.0.2) and makes the release install reproducible.

…UIRE_ESM

The release job ran a non-frozen pnpm install, drifting off the committed
lockfile and resolving @changesets/cli up to 2.31.0, which pulls the now
ESM-only human-id@4 via @changesets/write@0.4.0. On Node 18 the CJS require()
of that ESM module throws ERR_REQUIRE_ESM, crashing 'changeset version'
before the Version Packages PR could be created.

Pinning to the frozen lockfile keeps the proven CJS chain
(@changesets/cli@2.27.8 -> @changesets/write@0.3.2 -> human-id@1.0.2) and
makes the release install reproducible.
@changeset-bot

changeset-bot Bot commented Jun 4, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 8c0690d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@Adedamola18 Adedamola18 merged commit 5e847fd into main Jun 4, 2026
1 check passed
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.

1 participant