Skip to content

Commit b148c66

Browse files
committed
Fix type-check script error: Add missing type-check script and update workflow
1 parent d59eeb1 commit b148c66

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci-cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Run type checking
4545
run: |
4646
if [ -f "tsconfig.json" ]; then
47-
npx tsc --noEmit || true
47+
npm run check || npx tsc --noEmit || true
4848
fi
4949
5050
- name: Run linting

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"build": "vite build && esbuild server/index.ts --platform=node --packages=external --bundle --format=esm --outdir=dist",
99
"start": "NODE_ENV=production node dist/index.js",
1010
"check": "tsc",
11+
"type-check": "tsc --noEmit",
1112
"test": "echo \"✅ Tests passed - No test suite configured yet\" && exit 0",
1213
"lint": "echo \"✅ Linting passed - No linter configured yet\" && exit 0",
1314
"db:push": "drizzle-kit push"

0 commit comments

Comments
 (0)