Skip to content

Commit 24a27d6

Browse files
authored
Create npmpublish.yml
1 parent a209d3e commit 24a27d6

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/npmpublish.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Node.js Package
2+
on: push
3+
jobs:
4+
publish:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- uses: bahmutov/npm-install@v1
9+
- run: npm test
10+
- run: npm run build
11+
- id: publish
12+
uses: JS-DevTools/npm-publish@v1
13+
with:
14+
token: ${{ secrets.npm_token }}

0 commit comments

Comments
 (0)