Skip to content

Commit 49eeb6c

Browse files
committed
fix: try publishing with yarn
1 parent bfa365d commit 49eeb6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ jobs:
5555
asset_content_type: text/markdown
5656
- name: Deploy NPM package
5757
env:
58-
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
58+
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
5959
run: |
6060
if [[ $GITHUB_REF =~ alpha|beta ]]; then
61-
npm publish --tag next
61+
yarn npm publish --tag next
6262
else
63-
npm publish --tag latest
63+
yarn npm publish --tag latest
6464
fi

0 commit comments

Comments
 (0)