Repository navigation
fix: migrate npm publishing to OIDC - #44
Draft
dhruva-vapi wants to merge 1 commit into
Draft
dhruva-vapi wants to merge 1 commit into
dhruva-vapi wants to merge 1 commit into
Conversation
This branch has not been deployed
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.
Summary
Move the React SDK's release workflow to npm trusted publishing, following the Web SDK migration in VapiAI/client-sdk-web#165.
The v0.1.2 publish failed with E404. The workflow still uses Node 18/npm 10 and NPM_TOKEN; the error alone does not establish whether that token expired or lacks access.
contents: readandid-token: write.NODE_AUTH_TOKENreference.Before release
Configure an npm trusted publisher for
@vapi-ai/client-sdk-react:VapiAIclient-sdk-reactpublish.ymlnpm publishfor the existing publish command.npm settings have not been verified or changed. No secrets are removed by this PR. Coordinate trust setup with release readiness: npm requires the first successful publish within two days of creating a new trust configuration.
Rerunning the failed v0.1.2 job retains its original ref/SHA and will not pick up this workflow change. Select a separate recovery/release path after review; this PR does not retag or publish a release.
Validation
References: npm trusted publishing, GitHub rerun behavior.