Skip to content

chore: switch to OIDC trusted publishing and remove NPM_TOKEN dependency - #9

Merged
markoberholzer-es merged 2 commits into
mainfrom
chore/oidc-trusted-publishing
Feb 12, 2026
Merged

markoberholzer-es merged 2 commits into
mainfrom
chore/oidc-trusted-publishing

Conversation

@markoberholzer-es

Copy link
Copy Markdown
Collaborator

Switches npm publishing from token-based auth (NPM_TOKEN secret) to OIDC trusted publishing. The workflow now authenticates directly with npm via GitHub's OIDC provider — no stored secrets needed.

Changes:

  • Bumped publish workflow to Node 22.x (required for OIDC, needs npm ≥ 11.5.1)
  • Removed NODE_AUTH_TOKEN env var from the publish step
  • Added PUBLISHING.md with updated instructions reflecting the new setup

The NPM_TOKEN secret can be deleted from the repo's GitHub Actions settings after merging.

@nx-cloud

nx-cloud Bot commented Feb 12, 2026 •

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit a4b6fa0

Command Status Duration Result
nx affected --target=build --parallel ✅ Succeeded <1s View ↗
nx affected --target=prettier --parallel --check ✅ Succeeded <1s View ↗
nx affected --target=test --parallel --configur... ✅ Succeeded <1s View ↗
nx affected --target=lint --parallel ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-02-12 19:25:43 UTC

@markoberholzer-es
markoberholzer-es merged commit 109a735 into main Feb 12, 2026
2 checks passed
@markoberholzer-es
markoberholzer-es deleted the chore/oidc-trusted-publishing branch February 12, 2026 19:45
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