Skip to content

ci: add windows-latest to test matrix #1211

ci: add windows-latest to test matrix

ci: add windows-latest to test matrix #1211

Workflow file for this run

name: Run Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.2.7
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 10.8.0
- name: Install dependencies
run: pnpm install
- name: Build project
run: pnpm build
- name: Type check
if: matrix.os == 'ubuntu-latest'
run: pnpm typecheck
- name: Check formatting
if: matrix.os == 'ubuntu-latest'
run: pnpm format:check
- name: Run tests
run: pnpm test