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, version-aware pnpm and runtime 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 Updated

File contents

schalkneethling/create-project-calavera/tree/main/packages/artifacts/skill-npm-trusted-publishing-github-workflow/payload/npm-trusted-publishing-github-workflow commit 90e54a6c8c

Frequently asked questions

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