Skip to content

Use OIDC for Stainless npm publishing#173

Merged
rgarcia merged 1 commit into
mainfrom
chore/stainless-npm-oidc
Mar 28, 2026
Merged

Use OIDC for Stainless npm publishing#173
rgarcia merged 1 commit into
mainfrom
chore/stainless-npm-oidc

Conversation

@rgarcia

@rgarcia rgarcia commented Mar 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • switch the Stainless TypeScript target from npm: true to npm OIDC publishing
  • configure stainless.yaml to use publish.npm.auth_method: oidc
  • align Hypeman's SDK publishing config with npm trusted publishing

Test plan

  • verify the Stainless preview workflow runs on this PR
  • after merge, confirm Stainless uses OIDC for the TypeScript npm publish flow
  • confirm the next @onkernel/hypeman release publishes successfully without an npm token

Made with Cursor


Note

Medium Risk
Changes the npm publish authentication mechanism for the TypeScript SDK, which could break release/publish automation if OIDC/trusted publishing isn’t correctly configured in npm/GitHub.

Overview
Updates stainless.yaml to migrate the TypeScript target’s npm publishing config from publish.npm: true to an explicit publish.npm.auth_method: oidc, enabling npm trusted publishing (OIDC) instead of token-based auth for @onkernel/hypeman.

Written by Cursor Bugbot for commit a0b881f. This will update automatically on new commits. Configure here.

Configure the TypeScript Stainless target to publish to npm via OIDC so releases can use npm's trusted publishing flow instead of a long-lived token.

Made-with: Cursor
@github-actions

github-actions Bot commented Mar 28, 2026

Copy link
Copy Markdown

✱ Stainless preview builds

This PR will update the hypeman SDKs with the following commit message.

feat: Use OIDC for Stainless npm publishing
hypeman-openapi studio · code

Your SDK build had at least one "note" diagnostic.
generate ✅

hypeman-go studio · code

Your SDK build had at least one "note" diagnostic.
generate ✅build ⏭️lint ✅test ✅

go get github.com/stainless-sdks/hypeman-go@1f4a9a639af2715917d459edea1b71824cde9db8
hypeman-typescript studio · code

Your SDK build had at least one "note" diagnostic.
generate ✅build ✅lint ✅test ✅


This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push.
If you push custom code to the preview branch, re-run this workflow to update the comment.
Last updated: 2026-03-28 16:30:02 UTC

@rgarcia rgarcia merged commit cc53c42 into main Mar 28, 2026
4 of 6 checks passed
@rgarcia rgarcia deleted the chore/stainless-npm-oidc branch March 28, 2026 16:28
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