Skip to content

Commit 33eda2f

Browse files
committed
remove token
1 parent e060a5c commit 33eda2f

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

.github/workflows/release-node.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,12 @@ jobs:
4141
TAG_NAME="${GITHUB_REF_NAME}"
4242
if printf "%s" "$TAG_NAME" | grep "^node-v[0-9]\+\.[0-9]\+\.[0-9]\+$";
4343
then
44-
echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" >> ~/.npmrc
4544
npm publish --access public
4645
elif printf "%s" "$TAG_NAME" | grep "^node-v[0-9]\+\.[0-9]\+\.[0-9]\+";
4746
then
48-
echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" >> ~/.npmrc
4947
npm publish --tag next --access public
5048
else
5149
echo "Not a release, skipping publish (tag: $TAG_NAME)"
5250
fi
5351
env:
5452
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)