Merge pull request #8 from JoshKappler/fix-windows-support #16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |