Skip to content

[v0.3] Migrate to vitest (#799) #867

[v0.3] Migrate to vitest (#799)

[v0.3] Migrate to vitest (#799) #867

Workflow file for this run

name: CI
on:
push:
branches: [v0.3.x]
pull_request:
branches: [v0.3.x]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: [18, 20, 22]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- run: pnpm install && pnpm test -- --bail 1
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
- run: pnpm run build && npm publish --dry-run --tag v0.3-latest