Skip to content

Commit 68f2340

Browse files
committed
release job
1 parent 5b45a64 commit 68f2340

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,15 @@ jobs:
7474
key: ${{ runner.os }}-${{ env.NODE_VERSION }}-modules-${{ hashFiles('**/yarn.lock') }}
7575
- name: Build
7676
run: yarn build
77+
- name: Release
78+
uses: cycjimmy/semantic-release-action@v2
79+
id: semantic
80+
with:
81+
branch: master
82+
extra_plugins: |
83+
@semantic-release/git@v9
84+
@semantic-release/changelog
7785
env:
86+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
87+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
7888
CI: true

0 commit comments

Comments
 (0)