Skip to content

v0.7.0

v0.7.0 #8

Workflow file for this run

name: Publish Release To NPM
on:
release:
types: [published]
jobs:
publish-release-to-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- run: yarn install --immutable
- run: yarn build
- run: yarn config set npmAuthToken ${NODE_AUTH_TOKEN}
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
- run: yarn npm publish