Skip to content

Fully autonomous AI Agents system capable of performing complex penetration testing tasks

ci(webui): gate build and CI on TypeScript errors

Sergey Kozyrenko52951ceb43e8
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c6fcfcc9..a8c2ab4c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -66,6 +66,10 @@ jobs:
run: pnpm run lint
continue-on-error: true
+ - name: Frontend - Type check
+ working-directory: frontend
+ run: pnpm run typescript
+
- name: Frontend - Test
working-directory: frontend
run: pnpm run test
diff --git a/frontend/package.json b/frontend/package.json
index f0c6103f..f8e633da 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -3,7 +3,7 @@
"type": "module",
"version": "0.2.0",
"scripts": {
- "build": "tsc && vite build",
+ "build": "tsc -b && vite build",
"commit": "commit",
"commitlint": "commitlint --edit",
"dev": "vite",
@@ -15,7 +15,8 @@
"ssl:generate": "tsx --eval 'import { generateCertificates } from \"./scripts/generate-ssl.ts\"; generateCertificates();'",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
- "test:watch": "vitest"
+ "test:watch": "vitest",
+ "typescript": "tsc -b"
},
"dependencies": {
"@apollo/client": "^4.1.9",