Skip to content

ci: replace token-based npm publish with OIDC trusted publishing#1007

Merged
christso merged 1 commit intomainfrom
ci/oidc-trusted-publishing
Apr 9, 2026
Merged

ci: replace token-based npm publish with OIDC trusted publishing#1007
christso merged 1 commit intomainfrom
ci/oidc-trusted-publishing

Conversation

@christso
Copy link
Copy Markdown
Collaborator

@christso christso commented Apr 9, 2026

Summary

  • Add publish.yml with publish-next and promote-latest actions using OIDC (id-token: write) — no NPM_TOKEN needed
  • Simplify release.yml to version bump + GitHub release only, removing build/publish steps
  • Delete promote.yml (superseded by publish.yml)
  • Add Node 22 + npm upgrade steps to meet OIDC trusted publishing requirements

Post-merge steps

Update trusted publisher config on npmjs.com for each package (@agentv/core, @agentv/eval, agentv): change workflow from release.ymlpublish.yml

🤖 Generated with Claude Code

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 9, 2026

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6f0e730
Status: ✅  Deploy successful!
Preview URL: https://96e3e4df.agentv.pages.dev
Branch Preview URL: https://ci-oidc-trusted-publishing.agentv.pages.dev

View logs

- Add publish.yml with publish-next and promote-latest actions using OIDC (id-token: write), no NPM_TOKEN needed
- Simplify release.yml to version bump + GitHub release only, removing build/publish steps
- Delete promote.yml (superseded by publish.yml)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@christso christso force-pushed the ci/oidc-trusted-publishing branch from 0fbfe5c to 6f0e730 Compare April 9, 2026 06:08
@christso christso merged commit 934ea5f into main Apr 9, 2026
4 checks passed
@christso christso deleted the ci/oidc-trusted-publishing branch April 9, 2026 06:09
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