Skip to content

Automate npm publishing with OIDC#1

Merged
erickkkyt merged 1 commit into
mainfrom
agent/npm-trusted-publishing
Jul 20, 2026
Merged

Automate npm publishing with OIDC#1
erickkkyt merged 1 commit into
mainfrom
agent/npm-trusted-publishing

Conversation

@erickkkyt

Copy link
Copy Markdown
Collaborator

What changed

  • replace long-lived NPM_TOKEN publishing with npm Trusted Publishing over OIDC
  • use an approval-gated npm GitHub environment
  • prepare beatapi and beatapi-client 0.1.1 with normalized package metadata
  • document the release setup and add a workflow security regression test

Why

The existing workflow referenced a missing NPM_TOKEN and could not publish from GitHub Actions. Trusted Publishing removes the long-lived credential and adds verifiable npm provenance.

Verification

  • npm run verify
  • 20/20 tests pass
  • both 0.1.1 package tarballs install and execute in the package smoke test
  • npm audit --omit=dev reports 0 vulnerabilities

@erickkkyt
erickkkyt marked this pull request as ready for review July 20, 2026 14:58
@erickkkyt
erickkkyt merged commit 2a90fd2 into main Jul 20, 2026
1 check passed
@erickkkyt
erickkkyt deleted the agent/npm-trusted-publishing branch July 20, 2026 14:59
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