Skip to content

Commit 9a57f85

Browse files
committed
chore(release): 8.0.0
1 parent d2b40c0 commit 9a57f85

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
VERSION=$(node -p "require('./package.json').version")
3535
echo "Publishing version $VERSION"
3636
37+
# configure npm auth (use NPM_TOKEN)
38+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
39+
3740
# publish to npm
3841
npm publish --access public
3942
@@ -45,4 +48,4 @@ jobs:
4548
git tag "v$VERSION"
4649
git push origin "v$VERSION"
4750
env:
48-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
51+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)