Skip to content

Commit c73b7ef

Browse files
ci: add publish tag. (#11)
1 parent e2fb5f6 commit c73b7ef

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ jobs:
3333
uses: JS-DevTools/npm-publish@v3.1.1
3434
with:
3535
token: ${{ secrets.NPM_AUTH_TOKEN }}
36+
tag: ${{ contains(github.ref, '-') && 'next' || 'latest' }}
3637
access: public

0 commit comments

Comments
 (0)