Skip to content

v0.2.0

v0.2.0 #5

Workflow file for this run

name: Publish package to NPM
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: https://registry.npmjs.org/
- run: yarn
- run: yarn bundle --env.PKG_VERSION ${{ github.event.release.tag_name }}
- run: yarn build
- run: npm publish ./dist --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}