Skip to content

cleanup

cleanup #181

Workflow file for this run

name: Unit Tests
env:
# Increase heap to keep Nitro/Vite SSR builds (editor) from OOMing while treeshaking.
NODE_OPTIONS: --max-old-space-size=4096
on:
push:
branches-ignore: [main]
jobs:
unit-tests:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node_version: [24]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- name: Check formatting
run: pnpm exec prettier --check .
- run: pnpm run build
- name: Run tests
run: pnpm run test