Skip to content

Commit ae1ef90

Browse files
committed
Add NPM Publish workflow
1 parent e9f855c commit ae1ef90

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/npm-publish.yml

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

0 commit comments

Comments
 (0)