ci: migrate the release pipeline to Changesets - #278
Merged
Merged
Conversation
|
# Conflicts: # package.json
melianessa
approved these changes
Sep 24, 2026
3 tasks done
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.
Which Linear task is linked to this PR?
Part of EXBE-617
Why was it implemented this way?
Moves releases from standard-version to Changesets with the same setup as lifinance/types (lifinance/types#585) and lifinance/sdk (without the Linear sync).
publish.yamland the preview action are the types files with the repository name changed.publish.yaml(same file name, so npm trusted publishing keeps working): push tomain→ Verify (tests.yaml) → chore: version packages PR → publish with provenance,vX.Y.Ztag and GitHub Release. Version/Release run only onmain.release-previewlabel publishes0.0.0-preview-<sha>to thepreviewdist-tag and comments the install command. Thealpha/betaflow retires..npmrctopnpm-workspace.yaml.allowBuildskeeps the pnpm 10 behaviour forbufferutil,esbuildandutf-8-validate(no native builds; pnpm 12 fails otherwise).@lifi/*is exempt from the 24-hour release-age rule, so a fresh@lifi/typescan be pinned right away.## Older releases (standard-version). Without that##heading, the first GitHub Release would also show the old###patch entries (7.1.3, 7.1.2, 7.1.1), because Changesets takes the notes up to the next##heading./changesetcommand,changesetandreleaseskills (with data-types bump rules), CLAUDE.md. New PR template (from types) with a changeset checkbox.Behaviour change: data PRs with
chore:titles used to be released anyway. From now on a PR is released only if it carries a changeset — add apatchchangeset to data fixes.Security note (follow-up, not in this PR): npm trusted publishing is bound only to the file name
publish.yaml, and the preview job runs PR code withid-token: write— the same trust model as the old tag flow and the SDK.Part 2 of 2.
Checklist before requesting a review
pnpm changeset), or this PR does not change the published package.