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
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ jobs:
- run: pnpm install --frozen-lockfile
- run: pnpm run build

# Trusted Publishing OIDC auto-detection landed in npm 11.5.1; the
# bundled npm with Node 22 (10.x) is too old, falls back to the
# registry-url placeholder auth, and gets 404'd on upload.
- name: Ensure npm supports OIDC publishing
run: npm install -g npm@latest

- name: Derive npm dist-tag from git tag
id: meta
run: |
Expand Down Expand Up @@ -162,5 +168,9 @@ jobs:

- run: pnpm run build

# See note in release-tag: npm@10 (Node 22 default) can't use OIDC.
- name: Ensure npm supports OIDC publishing
run: npm install -g npm@latest

- name: Publish to npm
run: npm publish --tag nightly --access public --provenance
Loading