Skip to content

Commit 6856e08

Browse files
authored
Create npm-release.yml
1 parent 3cb1c6b commit 6856e08

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/npm-release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: CI
2+
on: push
3+
jobs:
4+
test:
5+
runs-on: ubuntu-16.04
6+
steps:
7+
- uses: actions/checkout@v2
8+
- uses: actions/setup-node@v1
9+
with:
10+
node-version: '12'
11+
- run: npm ci
12+
- run: npm test
13+
- name: Release
14+
env:
15+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
16+
run: npx semantic-release

0 commit comments

Comments
 (0)