2
0
mirror of https://github.com/tenrok/vue-cron-editor-bootstrap.git synced 2026-06-11 18:12:27 +03:00

NPM Publish

This commit is contained in:
Alex Freitas
2020-05-21 17:43:21 -03:00
parent ec2e8b169b
commit 44f6669472
+29
View File
@@ -0,0 +1,29 @@
name: Node.js Package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm ci
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}