Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

fix(ci): der Typecheck hat NIE etwas geprüft — jetzt schon

David3b2c520a571f
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b0917c98..8f380805 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -53,7 +53,7 @@ jobs:
continue-on-error: true
- name: Type check
- run: npx tsc --noEmit
+ run: npm run typecheck
- name: Unit tests
run: npx vitest run
diff --git a/package.json b/package.json
index 46854136..3fcb19a4 100644
--- a/package.json
+++ b/package.json
@@ -28,6 +28,8 @@
"dev": "vite",
"build": "vite build",
"lint": "eslint .",
+ "typecheck": "tsc -b --force",
+ "test": "vitest run",
"preview": "vite preview",
"tauri": "tauri",
"tauri:dev": "tauri dev",
diff --git a/tsconfig.app.json b/tsconfig.app.json
index af516fcc..714f25ff 100644
--- a/tsconfig.app.json
+++ b/tsconfig.app.json
@@ -5,7 +5,7 @@
"useDefineForClassFields": true,
"lib": ["ES2023", "DOM", "DOM.Iterable"],
"module": "ESNext",
- "types": ["vite/client"],
+ "types": ["vite/client", "vitest/globals"],
"skipLibCheck": true,
/* Bundler mode */