@chmulder/npm-oidc-test
v0.1.0
Published
Test package for OIDC npm publish
Readme
npm-oidc-test
Test repo for debugging OIDC trusted publishing to npm.
Purpose
Minimal setup to isolate and debug npm publish with OIDC authentication:
- No build tooling (Nx, webpack, etc.)
- Single package.json + index.js
- GitHub Actions workflow with
NPM_CONFIG_PROVENANCE=true - Environment:
npm-publishwithid-token: writepermission
Setup
- Package created on npmjs.com by org owner
- Trusted publisher configured at npmjs.com/package/@chmulder/npm-oidc-test/access:
- Org: RedHatInsights
- Repo: tmp-npm-oidc-test
- Workflow: publish.yaml
- Environment: npm-publish
Usage
Push to master branch → CI publishes to npm via OIDC.
