diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f1ebdf..0bf6501 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: cache: pnpm - run: pnpm install --frozen-lockfile - - run: pnpm test + - run: pnpm test:coverage docs-build: runs-on: ubuntu-latest diff --git a/vitest.config.ts b/vitest.config.ts index 4745854..e7f35ec 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -10,6 +10,12 @@ export default defineConfig({ provider: 'v8', include: ['src/**/*.ts'], exclude: ['src/cli/**', 'src/index.ts', 'src/**/types.ts'], + thresholds: { + lines: 90, + functions: 95, + branches: 80, + statements: 90, + }, }, }, });