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/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ jobs:
run: npm ci

- name: Clear npm auth token (OIDC trusted publishing handles auth)
run: npm config delete //registry.npmjs.org/:_authToken || true
run: |
# setup-node writes to $NPM_CONFIG_USERCONFIG; remove the _authToken line
# so npm's OIDC trusted publishing exchange can take over
sed -i '/_authToken/d' "$NPM_CONFIG_USERCONFIG" || true
cat "$NPM_CONFIG_USERCONFIG"

- name: Build core
run: npm run build:core
Expand Down
Loading