Skip to content

Commit 5eaeae6

Browse files
Release when tagging (#48)
1 parent d04b18f commit 5eaeae6

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/release.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Deploy
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: actions/setup-node@v1
11+
- run: sudo npm install -g typescript nyc mocha
12+
- run: npm install
13+
- run: npm run build
14+
- run: npm run test
15+
- uses: JS-DevTools/npm-publish@v1
16+
with:
17+
token: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)