Skip to content

rollingversions_publish_approved #3

rollingversions_publish_approved

rollingversions_publish_approved #3

name: Release
on:
repository_dispatch:
types: [rollingversions_publish_approved]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12.x
registry-url: 'https://registry.npmjs.org'
- run: yarn install --frozen-lockfile
- run: yarn prettier:check
- run: yarn build
- run: node lib
- run: npx rollingversions publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}