Skip to content

chore: migrate release pipeline to release-please#194

Merged
merencia merged 2 commits into
masterfrom
ci/migrate-to-release-please
Jun 23, 2026
Merged

chore: migrate release pipeline to release-please#194
merencia merged 2 commits into
masterfrom
ci/migrate-to-release-please

Conversation

@merencia

@merencia merencia commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

updating pipeline to create a release branch using release-please.

the idea is prevent multiples releases by merging to master, but keep a alive PR for the release sharing all the additions made to the release.

by merging the release PR it should release on npm.

Switches releases from per-merge auto-publish (semantic-release) to an
accumulating, PR-gated model (release-please): merges land on master, a single
Release PR maintains the next version + CHANGELOG, and merging it cuts the tag
and triggers publish.

- add release-please-config.json + .release-please-manifest.json: lockstep
  monorepo (root '.' drives one version/tag/CHANGELOG; extra-files bump all 11
  published packages to the same version)
- add .github/workflows/release-please.yml: maintains the Release PR (via the
  bot App token so it triggers CI) and, on release, publishes with the same
  'yarn workspaces foreach npm publish' step used before (handles workspace:* )
- add root package.json version (source of truth for release-please)
- remove semantic-release: release.yml workflow + .releaserc.json
- allow 'revert' and 'ci' PR-title prefixes (release-please understands them)

Note: keeps the existing yarn-based publish/auth as-is. npm trusted publishing
+ provenance is a deliberate follow-up (needs per-package npm config and a
yarn pack step for workspace:* ).
@merencia merencia requested a review from GiovaniGuizzo as a code owner June 23, 2026 18:15
The npm trusted publisher (OIDC) is configured against the workflow file
.github/workflows/release.yml. Keep the release-please + publish workflow under
that filename so the OIDC exchange keeps matching; the publish job stays the
entry workflow's job, so its OIDC subject is release.yml.

@GiovaniGuizzo GiovaniGuizzo left a comment

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.

Will this bot update the package.json files versions too, or is it going to be manual from now on?

Comment thread .github/workflows/validate-branch.yml
@merencia

Copy link
Copy Markdown
Contributor Author

it should update the package.json as well.

@merencia merencia merged commit e2555da into master Jun 23, 2026
6 checks passed
@merencia merencia deleted the ci/migrate-to-release-please branch June 23, 2026 19:13
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.

2 participants