Skip to content

Commit 8cdc814

Browse files
committed
fix: use npm for publishing
It seems that `yarn npm publish` cannot pick up the token from the environment.
1 parent d5571fa commit 8cdc814

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
5959
run: |
6060
if [[ $GITHUB_REF =~ alpha|beta ]]; then
61-
yarn npm publish --tag next
61+
npm publish --tag next
6262
else
63-
yarn npm publish --tag latest
63+
npm publish --tag latest
6464
fi

0 commit comments

Comments
 (0)