Skip to content

ci: use actions/github-script to obtain OIDC token for npm publish#107

Merged
JumpLink merged 1 commit into
mainfrom
ci/oidc-github-script-v2
Jun 16, 2026
Merged

ci: use actions/github-script to obtain OIDC token for npm publish#107
JumpLink merged 1 commit into
mainfrom
ci/oidc-github-script-v2

Conversation

@JumpLink

Copy link
Copy Markdown
Collaborator

Direct curl to ACTIONS_ID_TOKEN_REQUEST_URL returned 404. Use core.getIDToken('npm') via actions/github-script (the officially supported method) to get the JWT, then exchange it at the npm registry OIDC endpoint and configure Yarn with the short-lived token.

Direct curl to ACTIONS_ID_TOKEN_REQUEST_URL returned 404. Use
core.getIDToken('npm') via actions/github-script (the officially
supported method), then exchange the JWT at npm's OIDC endpoint and
configure Yarn with the short-lived token.
@JumpLink JumpLink requested review from Totto16, schnz and swsnr as code owners June 16, 2026 19:16
@JumpLink JumpLink merged commit 8bab886 into main Jun 16, 2026
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