Skip to content

Commit 91fa092

Browse files
committed
chore: setup semantic release
1 parent 0ac64b0 commit 91fa092

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Release
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- chore/setup-semantic
7+
8+
jobs:
9+
release:
10+
name: Release
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v2
16+
with:
17+
fetch-depth: 0
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: 12
22+
- name: Install dependencies
23+
run: npm ci
24+
- name: Release
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
28+
run: npx semantic-release

0 commit comments

Comments
 (0)