Skip to content

ci: pin pnpm version#16812

Merged
ematipico merged 1 commit into
mainfrom
ci/pin-pnpm-in-workflow
May 20, 2026
Merged

ci: pin pnpm version#16812
ematipico merged 1 commit into
mainfrom
ci/pin-pnpm-in-workflow

Conversation

@ematipico

Copy link
Copy Markdown
Member

Changes

This PR pin the exact version used by the merge-main-to-next workflow to match the same version we use in the repository. I should fix the failures.

Testing

Merge and wait once it's triggered again

Docs

N/A

@changeset-bot

changeset-bot Bot commented May 20, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: f665d59

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

@github-actions github-actions Bot added the 🚨 action Modifies GitHub Actions label May 20, 2026
Comment thread package.json
"engines": {
"node": ">=22.12.0"
},
"//": "When updating pnpm version, update merge-main-to-next workflow too",

@ocavue ocavue May 20, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaving a // comment here is okay. An alternative way is having a node:test unit test that reads both files and fails if versions not matching, which ensures that a PR with unmatched versions won’t get merged in the first place. However I can also understand if this seems overkill for you as merge-main-to-next isn’t one of the core workflows.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no need to overkill us. This is a job we're experimenting, and we use only when doing major versions, which are rare

@ematipico ematipico merged commit 847196e into main May 20, 2026
22 checks passed
@ematipico ematipico deleted the ci/pin-pnpm-in-workflow branch May 20, 2026 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🚨 action Modifies GitHub Actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants