Skip to content

Workflow file for this run

name: Publish package on NPM
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- run: yarn
- run: yarn pack
- run: yarn publish
env:
NPM_AUTH_TOKEN: ${{ secrets.YARN_NPM_AUTH_TOKEN }}