Skip to content

Publish with npm provenance: the OIDC exchange fails silently #52

Open

Description

@n4ff4h

@javaabu/onu and @javaabu/onu-mcp 0.2.0 have no npm attestations. release.yml sets NPM_CONFIG_PROVENANCE for public repositories, but the publish log shows the token exchange failing and the workflow still reporting success:

[WARN] Skipped OIDC: ERR_PNPM_AUTH_TOKEN_EXCHANGE: Failed token exchange request

Both packages were then published with NPM_TOKEN.

To do

  • Set up npm trusted publishing for both packages, pointing at release.yml, as CONTRIBUTING.md suggests, and remove the token afterwards.
  • Check that the next release actually carries an attestation.
  • Consider failing the workflow when provenance is expected but missing.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions