Skip to content

Commit

Permalink
just check types in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dead8309 committed Jan 24, 2025
1 parent 7a0350e commit 13f06cc
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Build
run: pnpm run build
- name: Check Types
run: pnpm type-check

3 changes: 2 additions & 1 deletion apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"db:setup": "npm run db:generate && npm run db:migrate",
"db:studio": "drizzle-kit studio",
"build": "tsc -p tsconfig.build.json",
"fiberplane": "npx @fiberplane/studio@latest"
"fiberplane": "npx @fiberplane/studio@latest",
"type-check": "tsc --noEmit"
},
"dependencies": {
"@ai-sdk/openai": "^1.0.11",
Expand Down
3 changes: 2 additions & 1 deletion apps/scraper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"type-check": "tsc --noEmit"
},
"dependencies": {
"@sparticuz/chromium-min": "^122.0.0",
Expand Down
3 changes: 2 additions & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"dev": "next dev -p 3001",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"type-check": "tsc --noEmit"
},
"dependencies": {
"@radix-ui/react-slot": "^1.1.1",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"private": true,
"scripts": {
"build": "turbo build",
"dev": "turbo dev"
"dev": "turbo dev",
"type-check": "turbo type-check"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20241205.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts",
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
"clean": "rm -rf dist"
"clean": "rm -rf dist",
"type-check": "tsc --noEmit"
},
"devDependencies": {
"tsup": "^8.0.2",
Expand Down
3 changes: 3 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
},
"lint": {
"dependsOn": ["^lint"]
},
"type-check": {
"dependsOn": ["^type-check"]
}
},
"ui": "stream"
Expand Down

0 comments on commit 13f06cc

Please sign in to comment.