Skip to content

Commit de31a6e

Browse files
automate release
1 parent e6341a5 commit de31a6e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,20 @@ jobs:
4646

4747
- name: Build package
4848
run: yarn prepack
49+
release:
50+
runs-on: ubuntu-latest
51+
if: github.ref == 'refs/heads/master'
52+
steps:
53+
- name: Checkout
54+
uses: actions/checkout@v3
55+
with:
56+
fetch-depth: 0
57+
- name: Setup
58+
uses: ./.github/actions/setup
59+
- name: git config
60+
run: |
61+
git config user.name "${GITHUB_ACTOR}"
62+
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
63+
- run: yarn release
64+
env:
65+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)