Skip to content

test: adopt vitest workspace for monorepo test orchestration #310

test: adopt vitest workspace for monorepo test orchestration

test: adopt vitest workspace for monorepo test orchestration #310

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
push:
branches:
- main
merge_group: {}
permissions:
contents: read
jobs:
test:
name: test & typecheck
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
name: Install pnpm
with:
run_install: false
- name: Install Node.js
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Typecheck
run: pnpm typecheck
- name: Test
run: pnpm test