Skip to content

Commit 75843e2

Browse files
authored
#1 Added CI/CD
1 parent 35531cb commit 75843e2

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Node.js Package
2+
on: workflow_dispatch
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v1
8+
- uses: actions/setup-node@v1
9+
with:
10+
node-version: 12
11+
registry-url: https://registry.npmjs.org/
12+
- run: yarn install
13+
- run: npm publish --access public
14+
env:
15+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)