Skip to content

Commit 27bc0bf

Browse files
committed
yarn publish
1 parent 8cc5ee1 commit 27bc0bf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
on:
22
push:
33
tags:
4-
- 'v*'
4+
- '*'
55

66
name: Release a New Version
77

@@ -39,6 +39,7 @@ jobs:
3939
prerelease: false
4040

4141
- name: 📢 Publish to NPM
42-
run: yarn publish
42+
run: yarn publish --new-version ${GITHUB_REF#"refs/tags/"} --no-git-tag-version
4343
env:
44+
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4445
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)