Skip to content

Update vitest package (#522) #133

Update vitest package (#522)

Update vitest package (#522) #133

Workflow file for this run

name: Release
on:
push:
branches:
- "main"
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
publish:
name: Publish NPM package using changesets
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8.1
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- name: Create release pull request or publish
id: changesets
uses: changesets/action@v1
with:
publish: pnpm run build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}