Skip to content

Commit 8a4dac3

Browse files
committed
🐛 drop registry-url for npm trusted publishing
setup-node's registry-url writes an .npmrc with always-auth=true and _authToken=${NODE_AUTH_TOKEN}. With trusted publishing the env is empty, so npm sends an empty token and gets a 404.
1 parent 2d4a742 commit 8a4dac3

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ jobs:
7272
uses: actions/setup-node@v4
7373
with:
7474
node-version: 24
75-
registry-url: https://registry.npmjs.com
7675

7776
- name: download build
7877
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)