diag: add npm whoami to troubleshoot authentication
All checks were successful
Deploy to Production / deploy (push) Successful in 5s

This commit is contained in:
2026-03-03 09:45:39 +00:00
parent 60490cd2a1
commit 0041f18eab

View File

@@ -24,6 +24,9 @@ jobs:
exit 1 exit 1
fi fi
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
echo "Checking identity..."
npm whoami
npm publish --access public npm publish --access public
env: env:
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}