mirror of
https://github.com/larchanka/manbot.git
synced 2026-05-13 21:42:08 +00:00
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>
11 lines
255 B
TypeScript
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,
|
|
},
|
|
});
|