File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,15 +31,24 @@ jobs:
3131 registry-url : ' https://registry.visualpinball.org'
3232 always-auth : true
3333
34- - name : Verify npm auth (optional)
35- run : npm whoami --registry=https://registry.visualpinball.org
34+ - name : Configure npm auth explicitly
35+ run : |
36+ cat > ~/.npmrc <<'EOF'
37+ registry=https://registry.visualpinball.org/
38+ always-auth=true
39+ //registry.visualpinball.org/:_authToken=${NODE_AUTH_TOKEN}
40+ EOF
41+ echo "Wrote ~/.npmrc:"
42+ cat ~/.npmrc
3643 env :
3744 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
3845
46+ - name : Verify npm auth
47+ run : npm whoami --registry=https://registry.visualpinball.org/
48+
3949 - name : Publish
40- run : npm publish --registry=https://registry.visualpinball.org
41- env :
42- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
50+ run : npm publish --registry=https://registry.visualpinball.org/
51+
4352
4453 dispatch :
4554 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments