Files
manbot/vitest.config.ts
larchanka 883e166e7d P5-01, P5-02: GitHub Actions CI workflow and build-and-test job
P5-01: Add .github/workflows/ci.yml
- Trigger on push and pull_request to main
- Runs on ubuntu-latest

P5-02: Add build-and-test job
- actions/checkout@v4, actions/setup-node@v4 (Node 20), npm cache
- npm ci, npm run build, npm test

Also: restrict vitest to src/ and exclude dist/ so CI passes (no .d.ts suites)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 00:09:29 +01:00

11 lines
255 B
TypeScript

import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
include: ["src/**/*.test.ts", "src/**/__tests__/**/*.ts"],
exclude: ["**/node_modules/**", "**/dist/**"],
environment: "node",
globals: false,
},
});