Skip to content

ci: add npm Trusted Publishing release workflow#13

Merged
mjradwin merged 1 commit into
mainfrom
add-npm-trusted-publishing
May 17, 2026
Merged

ci: add npm Trusted Publishing release workflow#13
mjradwin merged 1 commit into
mainfrom
add-npm-trusted-publishing

Conversation

@mjradwin
Copy link
Copy Markdown
Member

Adds a GitHub Actions workflow that publishes this package to npm via
OIDC Trusted Publishing whenever a GitHub Release is published.

  • No NPM_TOKEN required (OIDC short-lived tokens).
  • Provenance attestations are generated automatically.
  • The workflow uses the npm-publish environment for an extra approval boundary.

Before merging, configure the trusted publisher on npmjs.com:

  1. Go to https://www.npmjs.com/package//access
  2. Under "Trusted Publisher", click Add and fill in:
    • Publisher: GitHub Actions
    • Organization or user: hebcal
    • Repository: this repo's name
    • Workflow filename: release.yml
    • Environment name: npm-publish

Docs: https://docs.npmjs.com/trusted-publishers/

@mjradwin mjradwin merged commit f3db50c into main May 17, 2026
4 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