Skip to content

fixed a bug with permissions #32

fixed a bug with permissions

fixed a bug with permissions #32

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}}