Skip to content

v1.0.6

v1.0.6 #8

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- run: yarn install --pure-lockfile
- run: yarn typecheck
- run: yarn test
- run: yarn build
- name: Publish
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}