NPM Trusted Publishing Github Workflow

Generate, repair, or debug the GitHub Actions workflow FILE that performs an OIDC trusted publish of a pnpm package — the concrete publish.yml, its test → build → publish job shape, the package tarball artifact handoff, Node-version inference from package.json, pnpm and runtime setup via pnpm/setup, the npm-CLI-version upgrade step, and repository.url/Sigstore provenance matching. Use when the user wants the actual workflow written or fixed, or is debugging a specific CI failure: npm publish E404/E403/422, NODE_AUTH_TOKEN appearing unexpectedly, provenance or id-token errors, pnpm/setup version resolution, or runtime version problems. For the broader publishing SECURITY POSTURE — account 2FA, repository and branch hardening, GitHub environments, changesets versus changelogithub, sole-maintainer risk, or auditing an existing pipeline — use the npm-package-publishing skill instead.

schalkneethling bd1dd85 2 files · 20.5 KB Updated

File contents

schalkneethling/claude-toolkit/tree/main/skills/npm-trusted-publishing-github-workflow commit bd1dd854f4

Frequently asked questions

npx skillmds@latest add schalkneethling/npm-trusted-publishing-github-workflow