Skip to content

Use npm trusted publishing - #4

Merged
birkskyum merged 1 commit into
mainfrom
trusted-publishing
Aug 19, 2026
Merged

Use npm trusted publishing#4
birkskyum merged 1 commit into
mainfrom
trusted-publishing

Conversation

@birkskyum

Copy link
Copy Markdown
Member

Summary

  • remove the long-lived NPM_TOKEN from the release workflow
  • let npm authenticate through GitHub Actions OIDC

Context

This matches the release setup in solidjs/solid-image. The workflow already has id-token: write, uses a GitHub-hosted runner, sets up Node 24, and targets the npm registry.

The package must exist on npm before its trusted publisher can be configured. After the initial publish, configure the npm package with:

  • Organization: solidjs
  • Repository: start-devtools
  • Workflow: release.yml
  • Allowed action: npm publish

Testing

  • Prettier check
  • git diff --check

@birkskyum
birkskyum merged commit 101aac0 into main Aug 19, 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