Skip to content

fix(ci): use Publish environment for all release types#1138

Merged
abueide merged 1 commit intomasterfrom
fix/trusted-publishing
Mar 2, 2026
Merged

fix(ci): use Publish environment for all release types#1138
abueide merged 1 commit intomasterfrom
fix/trusted-publishing

Conversation

@abueide
Copy link
Copy Markdown
Contributor

@abueide abueide commented Mar 2, 2026

Summary

npm trusted publishing OIDC tokens include the GitHub environment name. Since all 17 packages were configured on npmjs.com with environment Publish, the dry-run was failing because it ran without an environment — the OIDC token didn't match.

Changed from conditional environment to always using Publish for all release types (dry-run, beta, production).

Test plan

  • Trigger Release workflow with type=dry-run

🤖 Generated with Claude Code

npm trusted publishing OIDC tokens must be issued for the same
environment configured on npmjs.com. Dry-run was using no environment,
causing the OIDC check to fail.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@abueide abueide merged commit 8a2fb86 into master Mar 2, 2026
5 checks passed
@abueide abueide deleted the fix/trusted-publishing branch March 2, 2026 23:58
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