Skip to content

Commit 74ecbde

Browse files
authored
Create npm-deploy.yml
1 parent fcb9723 commit 74ecbde

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/npm-deploy.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Deploy to NPM
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@master
13+
- uses: actions/setup-node@v1
14+
with:
15+
node-version: '11.x'
16+
- name: build
17+
run: npm run build
18+
- name: publish
19+
run: npm publish

0 commit comments

Comments
 (0)