Skip to content

Realease 0.1.63

Realease 0.1.63 #245

Workflow file for this run

name: Node.js Package
on:
release:
types: [created]
jobs:
publish-npm:
if: ${{ !contains(github.ref, 'dev')}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm run build:s
- run: npm publish
if: ${{ !contains(github.ref, 'beta')}}
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
- run: npm run beta
if: ${{ contains(github.ref, 'beta')}}
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}