Skip to content

chore: bump v0.3.2 (#197) #114

chore: bump v0.3.2 (#197)

chore: bump v0.3.2 (#197) #114

Workflow file for this run

name: Publish on Tag
on:
push:
branches: ["master"]
tags: ["v*.*.*"]
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: yarn
- name: Build
run: yarn run build
# Setup .npmrc file to publish to npm
- name: Publish to npm
if: startsWith(github.ref, 'refs/tags/')
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: npm publish --access public