Skip to content

ci: add npm Trusted Publishing release workflow - #1

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

ci: add npm Trusted Publishing release workflow#1
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/

@sonarqubecloud

Copy link
Copy Markdown

@mjradwin
mjradwin merged commit 27d377e into main May 17, 2026
6 checks passed
@mjradwin
mjradwin deleted the add-npm-trusted-publishing branch June 22, 2026 23:36
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