Skip to content

Commit 871d062

Browse files
authored
chore: Add Release workflow
1 parent d15630b commit 871d062

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Semantic Release
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
release:
8+
name: Release
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-node@v2
13+
with:
14+
node-version: lts/*
15+
- run: npm ci
16+
- env:
17+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
18+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
19+
run: npx semantic-release

0 commit comments

Comments
 (0)