Skip to content

Merge pull request #8 from JoshKappler/fix-windows-support #16

Merge pull request #8 from JoshKappler/fix-windows-support

Merge pull request #8 from JoshKappler/fix-windows-support #16

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: test
runs-on: [self-hosted, palantir-actions]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
- name: Install dependencies
run: npm ci
- name: Type-check
run: npx tsc --noEmit
- name: Lint
run: npx biome check src test
- name: Unit and integration tests
run: npx vitest run
- name: Offline eval gates
run: npx tsx src/cli.ts eval all
- name: Hot-path bench
run: npx tsx src/cli.ts bench
test-windows:
name: test (windows)
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: npm
- name: Install dependencies
run: npm ci
- name: Type-check
run: npx tsc --noEmit
- name: Lint
run: npx biome check src test
- name: Unit and integration tests
run: npx vitest run
- name: Offline eval gates
run: npx tsx src/cli.ts eval all
- name: Hot-path bench
run: npx tsx src/cli.ts bench