Skip to content

Release

Release #19

Workflow file for this run

name: Release
on: workflow_dispatch
env:
NODEVERSION: 20.x
PNPM_VERSION: 9.1.1
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODEVERSION }}
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm build && pnpm build:cjs
- run: pnpm publish --access public --filter "./packages/**"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}