Skip to content

ci: prepare npm Trusted Publisher release - #46

Merged
abruption merged 1 commit into
mainfrom
ci/45-npm-trusted-publisher
Sep 27, 2026
Merged

abruption merged 1 commit into
mainfrom
ci/45-npm-trusted-publisher

Conversation

@abruption

Copy link
Copy Markdown
Owner

Summary

  • Run the tagged publish job on Node 24 with npm 11.11.0, retain OIDC id-token: write, disable release cache, and remove the NPM_TOKEN/NODE_AUTH_TOKEN publish path.
  • Document the exact npm Trusted Publisher binding and a gated first-release/token-retirement sequence.
  • Update repository instructions to prevent reintroducing token publication.

Refs #45. Keep the issue open until a real tagged OIDC release succeeds and the old credential is retired.

Merge gate

Do not merge until the package owner has created and verified the npm Trusted Publisher binding for abruption/codex-unlock, workflow release-please.yml, with direct npm publish allowed. Browser PassKey/2FA is owner-only.

Validation

  • npm ci
  • npm run check
  • npm run lint
  • npm test (84 pass)
  • npm run smoke:package
  • git diff --check

A dry run cannot prove npm OIDC authentication; verify on the next tagged release.

@abruption
abruption marked this pull request as ready for review September 27, 2026 05:52
@abruption

Copy link
Copy Markdown
Owner Author

npm Trusted Publisher binding was created and verified in package Settings: abruption/codex-unlock + release-please.yml, direct npm publish allowed. All 20 PR checks pass. The first real tagged OIDC publication and subsequent NPM_TOKEN secret/token retirement remain tracked in #45; this PR does not close the issue.

@abruption
abruption merged commit e151029 into main Sep 27, 2026
20 checks passed
@abruption
abruption deleted the ci/45-npm-trusted-publisher branch September 27, 2026 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant