Skip to content

Commit 7ae53da

Browse files
committed
fix: adjust yaml
1 parent 2fa98d9 commit 7ae53da

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/release.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Release - CI
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
test:
8+
runs-on: ubuntu-16.04
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-node@v1
12+
with:
13+
node-version: '15.8.0'
14+
cache: 'yarn'
15+
- run: yarn install
16+
- run: yarn test
17+
- run: yarn build-bundle
18+
- name: Release
19+
env:
20+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
run: npx semantic-release

0 commit comments

Comments
 (0)