circleci-trust-publish-test-unscoped
v0.1.0
Published
Test package for CircleCI trusted publishing validation (unscoped)
Maintainers
Readme
circleci-trust-publish-test-unscoped
Unscoped test package for validating CircleCI OIDC trusted publishing against the real npm registry.
Purpose
Used for bug-bashing the CircleCI trusted publisher UI flows on wubwub (unscoped package scenario). This package is connected to CircleCI and publishes via OIDC token exchange — no long-lived npm tokens.
Setup
1. CircleCI
Connect this repo to CircleCI and run the debug-workflow to get claim values.
| Field | Value | |-------|-------| | Org ID | TBD — run debug-workflow | | Project ID | TBD — run debug-workflow | | Pipeline Definition ID | TBD — run debug-workflow |
2. npm Trusted Publishing
Configure the trusted publisher on npmjs.com with the org-id and project-id from the debug workflow.
Workflows
publish-workflow
Publishes to the real npm registry. Only runs on main.
debug-workflow
Decodes and prints OIDC token claims — use to get the values needed for trusted publisher configuration.
Related
- circleci-trust-publish-test — user-scoped version (
@owlstronaut) - circleci-trust-publish-test-org — org-scoped version (
@owlstronaut-test-org) - Bug bash task: #14721
