Skip to content

.github/workflows/release.yaml #3

.github/workflows/release.yaml

.github/workflows/release.yaml #3

Workflow file for this run

on:
push:
tags:
- "v*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: latest
- uses: actions/setup-node@v4
with:
registry-url: "https://registry.npmjs.org"
cache: pnpm
- run: pnpm install
- run: pnpm build
- run: pnpm publish --no-git-checks --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}