Skip to content

ci: publish to npm when a GitHub Release is published - #2727

Draft
mjameswh wants to merge 1 commit into
ts-release-process--draft-releasefrom
ts-release-process--publish
Draft

mjameswh wants to merge 1 commit into
ts-release-process--draft-releasefrom
ts-release-process--publish

Conversation

@mjameswh

Copy link
Copy Markdown
Contributor

Summary

  • Publishing the draft release runs Release Publish. It publishes only the tarballs that are not already on npm, using trusted publishing, and retries a failed publish.
  • A stable version gets the latest dist-tag. rc, beta, and alpha use that dist-tag. The job then smoke-tests the published version with test:e2e --sdk-version.

Stacked on #2726.

Test plan

  • A published release whose commit is on main or releases/X.Y.x publishes only the missing packages
  • The smoke test installs that version from npm
  • Trusted publishers for each package still need to be configured by hand

Trusted publishing uploads only the tarballs that are not already on npm,
then smoke-tests that version from the registry.
@mjameswh
mjameswh requested a review from a team as a code owner November 24, 2026 06:06
@mjameswh
mjameswh marked this pull request as draft November 24, 2026 06:09

This branch has not been deployed

No deployments
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