Skip to content

Publish npm through trusted OIDC - #73

Merged
jmagar merged 1 commit into
mainfrom
fix/npm-trusted-publishing
Aug 12, 2026
Merged

Publish npm through trusted OIDC#73
jmagar merged 1 commit into
mainfrom
fix/npm-trusted-publishing

Conversation

@jmagar

@jmagar jmagar commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • use Node 24 and npm 11.5.1 for npm trusted publishing
  • remove the expired long-lived token preflight and publish environment
  • enforce the OIDC workflow contract in packaging checks

Root cause

The package already trusts dinglebear-ai/rytdl and release.yml, but the workflow injected an expired NPM_TOKEN and failed at npm whoami before OIDC publication.

Verification

  • ./scripts/check-packaging.sh
  • ./scripts/check-version-sync.sh
  • npm test --prefix packages/ytdl-rmcp
  • npm run check --prefix packages/ytdl-rmcp
  • shellcheck scripts/check-packaging.sh
  • actionlint .github/workflows/release.yml

Bead: ytdl-mcp-4gv

@jmagar
jmagar merged commit 7656cef into main Aug 12, 2026
9 checks passed
@jmagar
jmagar deleted the fix/npm-trusted-publishing branch August 12, 2026 22:12
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