Skip to content

Commit cf548a7

Browse files
committed
ci: Fix attempt to fix auth.
1 parent bbdbe2c commit cf548a7

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/publish.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,16 @@ jobs:
4848
with:
4949
node-version: '20.x'
5050
registry-url: 'https://registry.visualpinball.org'
51+
always-auth: true
52+
# If your package is scoped, uncomment and set:
53+
# scope: '@visualpinball'
54+
55+
- name: Verify npm auth (optional but helpful)
56+
run: npm whoami --registry=https://registry.visualpinball.org
57+
env:
58+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
59+
5160
- name: Publish
52-
run: npm publish
61+
run: npm publish --registry=https://registry.visualpinball.org
5362
env:
54-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
63+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)