Skip to content

ci(release): finalize OIDC trusted publishing for npm#37

Merged
kboshold merged 1 commit into
mainfrom
fix/release-oidc-cd-publish
Jun 29, 2026
Merged

ci(release): finalize OIDC trusted publishing for npm#37
kboshold merged 1 commit into
mainfrom
fix/release-oidc-cd-publish

Conversation

@kboshold

Copy link
Copy Markdown
Member

Finalizes the npm publish job for OIDC trusted publishing (no NPM_TOKEN) and removes the debugging cruft accumulated across earlier attempts.

  • npm upgraded to >= 11.5.1 (Node 22 ships npm 10)
  • NODE_AUTH_TOKEN: "" so npm uses OIDC instead of a token
  • platform packages published from inside each dir
  • no registry-url (its dummy .npmrc token suppressed OIDC)
  • diagnostics step + verbose comments removed

Diagnostics from the prior run confirmed the workflow side is correct (npm 11.17.0, OIDC request token present, registry https://registry.npmjs.org/). Publishing requires a Trusted Publisher configured per package on npm (repo boshold/zaps, workflow release.yml, empty environment).

Publish via GitHub OIDC trusted publishing (no NPM_TOKEN):
- upgrade npm to >= 11.5.1 (Node 22 ships npm 10)
- NODE_AUTH_TOKEN="" so npm uses OIDC, not a token
- publish each platform package from inside its dir
- drop registry-url (its dummy .npmrc token suppressed OIDC)

Requires a Trusted Publisher per package on npm (repo boshold/zaps,
workflow release.yml).
@github-actions

Copy link
Copy Markdown

Coverage Report for Unit Tests

Status Category Percentage Covered / Total
🔵 Lines 92.08% (🎯 85%) 4769 / 5179
🔵 Statements 91.95% (🎯 85%) 4927 / 5358
🔵 Functions 89.34% (🎯 85%) 1098 / 1229
🔵 Branches 86.72% (🎯 85%) 2593 / 2990
File CoverageNo changed files found.
Generated in workflow #143 for commit 91afd19 by the Vitest Coverage Report Action

@github-actions

Copy link
Copy Markdown

Coverage Report for Integration Tests

Status Category Percentage Covered / Total
🔵 Lines 41.86% (🎯 85%) 2395 / 5721
🔵 Statements 41.48% (🎯 85%) 2455 / 5918
🔵 Functions 39.13% (🎯 85%) 515 / 1316
🔵 Branches 33.95% (🎯 85%) 1104 / 3251
File CoverageNo changed files found.
Generated in workflow #143 for commit 91afd19 by the Vitest Coverage Report Action

@kboshold kboshold merged commit 3e4a418 into main Jun 29, 2026
6 checks passed
@kboshold kboshold deleted the fix/release-oidc-cd-publish branch June 29, 2026 09:33
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