fix(evals): infer task input types from eval data #124
Workflow file for this run
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: Check Vitest Entrypoints | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'packages/ai/**' | |
| - 'examples/kitchen-sink/**' | |
| - '.github/workflows/check-vitest-entrypoints.yaml' | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - 'packages/ai/**' | |
| - 'examples/kitchen-sink/**' | |
| - '.github/workflows/check-vitest-entrypoints.yaml' | |
| env: | |
| PNPM_VERSION: 10.16.1 | |
| NODE_VERSION: 22 | |
| jobs: | |
| check-vitest-entrypoints: | |
| name: Check vitest entrypoints | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: ${{ env.PNPM_VERSION }} | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| cache: 'pnpm' | |
| - run: pnpm install --frozen-lockfile --ignore-scripts | |
| - run: pnpm -C packages/ai build | |
| - run: pnpm -C packages/ai check:vitest-entrypoints | |
| - name: Verify kitchen-sink builds without vitest | |
| run: | | |
| # vitest is resolvable through the axiom workspace:* symlink | |
| # (kitchen-sink -> packages/ai/node_modules/vitest). Remove it | |
| # so next build fails if any entrypoint leaks a vitest import. | |
| rm -rf packages/ai/node_modules/vitest packages/ai/node_modules/@vitest | |
| pnpm --filter kitchen-sink build |