Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ jobs:
steps:
- uses: actions/checkout@v4

# No registry-url here: with it, setup-node writes an .npmrc with a
# placeholder NODE_AUTH_TOKEN and npm uses that instead of OIDC.
- uses: actions/setup-node@v4
with:
node-version: 22.x
registry-url: https://registry.npmjs.org
cache: npm

# Trusted publishing (OIDC) needs npm 11.5.1 or newer; Node 22 ships an older npm.
Expand All @@ -32,3 +33,6 @@ jobs:

- name: Publish to npm
run: npm publish --access public
env:
# Surfaces the "oidc" log lines that explain a failed token exchange.
NPM_CONFIG_LOGLEVEL: verbose
Loading