Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

chore: switch npm publishing to OIDC trusted publishing#160

Open
decofe wants to merge 1 commit into
mainfrom
horsefacts/oidc-trusted-publishing
Open

chore: switch npm publishing to OIDC trusted publishing#160
decofe wants to merge 1 commit into
mainfrom
horsefacts/oidc-trusted-publishing

Conversation

@decofe

@decofe decofe commented Apr 13, 2026

Copy link
Copy Markdown
Member

Drop long-lived NPM_TOKEN secret in favor of npm OIDC trusted publishing (provenance). The changesets job already has id-token: write — this just adds provenance=true to .npmrc and removes the token env var.

Before merging: configure npm trusted publishing for the tempo.ts package on npmjs.com:

  • Provider: GitHub Actions
  • Repository: tempoxyz/tempo-ts
  • Workflow: main.yml
  • Environment: (leave blank)

After that's set, the NPM_TOKEN secret can be removed from the repo settings.

Prompted by: horsefacts

Drop long-lived NPM_TOKEN in favor of npm provenance via GitHub Actions
OIDC. The changesets job already has id-token: write permission.

Co-Authored-By: horsefacts <109845214+horsefacts@users.noreply.github.com>
@decofe decofe force-pushed the horsefacts/oidc-trusted-publishing branch from 4995d24 to fd73cba Compare April 16, 2026 17:35
@pkg-pr-new

pkg-pr-new Bot commented Apr 16, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/tempoxyz/tempo-ts/tempo.ts@160

commit: fd73cba

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants