Skip to content

Update workflow yaml #1

Update workflow yaml

Update workflow yaml #1

Workflow file for this run

name: Publish
on:
pull_request:
types:
- closed
branches:
- 'main'
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/*
registry-url: https://registry.npmjs.org/
- run: yarn
- run: yarn build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}