Skip to content

Commit ac6bc8f

Browse files
committed
chore: publish via semantic-release
1 parent 9632a06 commit ac6bc8f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,10 @@ jobs:
5959
env:
6060
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
6161
- name: publish
62-
run: npm publish --set-access-level public
62+
uses: cycjimmy/semantic-release-action@v2
63+
with:
64+
semantic_version: 17
65+
branches: main
66+
env:
67+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)