Skip to content

pushed new changes

pushed new changes #34

Workflow file for this run

name: npmpublish
on:
push:
branches:
- master
- develop
- releast/*
jobs:
code-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm ci
- run: npm run check
publish-npm:
needs: code-check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run publish
if: github.ref != 'develop'
- run: npm run publish-beta
if: github.ref == 'develop'
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}