Skip to content

Commit a828dca

Browse files
committed
update publish
1 parent 8e9adf8 commit a828dca

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,10 @@ jobs:
2020
node-version: '24.x'
2121
registry-url: 'https://registry.npmjs.org'
2222
- run: bun install --frozen-lockfile
23-
- run: npm publish --provenance --access public
23+
- name: Publish to npm
24+
run: |
25+
if [[ "${{ github.event.release.tag_name }}" == *"beta"* ]]; then
26+
npm publish --provenance --access public --tag beta
27+
else
28+
npm publish --provenance --access public
29+
fi

0 commit comments

Comments
 (0)