Skip to content

Publish TypeScript SDK with trusted credentials - #71843

Draft
jason810496 wants to merge 2 commits into
apache:mainfrom
jason810496:ci/ts-sdk-trusted-npm-publishing
Draft

Publish TypeScript SDK with trusted credentials#71843
jason810496 wants to merge 2 commits into
apache:mainfrom
jason810496:ci/ts-sdk-trusted-npm-publishing

Conversation

@jason810496

Copy link
Copy Markdown
Member

Why

Publishing the TypeScript SDK with a long-lived npm token would expose a reusable credential and would not establish verifiable build provenance.

How

  • Require a manually dispatched, semver-matching ts-sdk/<version> tag.
  • Require approval through the protected ts-sdk-npm GitHub environment.
  • Publish from a GitHub-hosted runner through npm trusted publishing and OIDC.
  • Publish prereleases under next and stable versions under latest.
  • Configure public scoped-package access and document the required npm trusted-publisher setup.

The actual publish step requires the apache/airflow GitHub environment and npm trusted-publisher configuration described in the documentation.


Was generative AI tooling used to co-author this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant