ci: authenticate npm publish
This commit is contained in:
@@ -54,4 +54,5 @@ jobs:
|
||||
echo "NPM_TOKEN not set on this repo." >&2
|
||||
exit 1
|
||||
fi
|
||||
printf '//registry.npmjs.org/:_authToken=%s\n' "$NODE_AUTH_TOKEN" > ~/.npmrc
|
||||
npm publish --access public
|
||||
|
||||
Reference in New Issue
Block a user