Skip to content

Use npm trusted publishing for releases - #3

Merged
markeljan merged 1 commit into
mainfrom
chore/npm-trusted-publishing
Aug 24, 2026
Merged

markeljan merged 1 commit into
mainfrom
chore/npm-trusted-publishing

Conversation

@markeljan

Copy link
Copy Markdown
Member

Summary

  • grant the release workflow GitHub OIDC permission
  • run Node 24 through actions/setup-node@v6 so npm meets trusted-publishing requirements
  • remove the absent long-lived NPM_TOKEN from install and release steps

Release gate

Do not merge until w3gpt is configured on npm with this trusted publisher:

  • provider: GitHub Actions
  • repository: web3-gpt/sdk
  • workflow: release.yml
  • permission: npm publish

Merging this workflow change triggers the release workflow and will retry the already-versioned w3gpt@0.1.2 publication.

Official npm requirements: https://docs.npmjs.com/trusted-publishers/

@markeljan
markeljan merged commit 3aef1c4 into main Aug 24, 2026
3 checks passed
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