Skip to content

Commit ee5920e

Browse files
committed
Update action
1 parent 162e988 commit ee5920e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,11 @@ jobs:
5353
- name: Publish
5454
run: |
5555
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
56-
npm publish
56+
if [[ "${{ github.ref }}" == *"beta"* ]]; then
57+
npm publish --tag beta
58+
else
59+
npm publish
60+
fi
5761
env:
5862
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5963

0 commit comments

Comments
 (0)