Skip to content

Commit bfb352e

Browse files
committed
Add release workflow
1 parent 4bc74e8 commit bfb352e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/release.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Release
2+
on:
3+
release:
4+
type: [published]
5+
jobs:
6+
publish:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- uses: actions/setup-node@v1
11+
with:
12+
node-version: 16
13+
- run: npm test
14+
- uses: JS-DevTools/npm-publish@v1
15+
with:
16+
token: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)