npm-trusted-publishing

Installation
SKILL.md

Default output: return only the result, blockers, and required evidence. Omit preambles, process narration, repeated context, confidence scores, and follow-up offers. Use at most five bullets unless a required artifact or schema needs more.

npm Trusted Publishing

Publish npm packages from GitHub Actions without long-lived tokens. Uses OIDC for authentication and generates provenance attestations automatically.

How It Works

  1. GitHub Actions workflow runs on tag push
  2. Workflow requests short-lived OIDC token from GitHub
  3. npm exchanges OIDC token for publish token via registry
  4. Package publishes with provenance attestation (supply-chain security)
  5. No NPM_TOKEN secret needed — ever

Prerequisites

npmjs.org (one-time per package)

Installs
1
GitHub Stars
8
First Seen
Aug 17, 2026
npm-trusted-publishing — v1truv1us/ai-eng-system