Skip to content

Commit 9376e1e

Browse files
committed
update workflow + lint script to check-types
1 parent b99d5de commit 9376e1e

File tree

17 files changed

+78
-47
lines changed

17 files changed

+78
-47
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Code Quality
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
- '!renovate/*'
8+
9+
jobs:
10+
check-types:
11+
name: Check Types
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 10
14+
steps:
15+
- uses: pnpm/action-setup@v4
16+
with:
17+
version: '10.14.0'
18+
19+
- uses: actions/checkout@v4
20+
21+
- uses: actions/setup-node@v4
22+
with:
23+
node-version: 24
24+
registry-url: https://registry.npmjs.org
25+
26+
- name: Install Dependencies
27+
run: pnpm install --frozen-lockfile
28+
29+
- name: Check TypeScript Types
30+
run: pnpm dlx turbo check-types
31+
32+
prettier:
33+
name: Prettier Check
34+
runs-on: ubuntu-latest
35+
timeout-minutes: 10
36+
steps:
37+
- uses: pnpm/action-setup@v4
38+
with:
39+
version: '10.14.0'
40+
41+
- uses: actions/checkout@v4
42+
43+
- uses: actions/setup-node@v4
44+
with:
45+
node-version: 24
46+
registry-url: https://registry.npmjs.org
47+
48+
- name: Install Dependencies
49+
run: pnpm install --frozen-lockfile
50+
51+
- name: Check Prettier Formatting
52+
run: pnpm prettier:check

.github/workflows/lint.yaml

Lines changed: 0 additions & 30 deletions
This file was deleted.

apps/website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"serve": "docusaurus serve",
1313
"write-translations": "docusaurus write-translations",
1414
"write-heading-ids": "docusaurus write-heading-ids",
15-
"typecheck": "tsc"
15+
"check-types": "tsc"
1616
},
1717
"dependencies": {
1818
"@docusaurus/core": "3.8.1",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
],
1010
"scripts": {
1111
"bootstrap": "turbo gen bootstrap --args",
12-
"lint": "turbo run --filter=\"./packages/*\" lint",
12+
"check-types": "turbo run --filter=\"./packages/*\" check-types",
1313
"build": "turbo run --filter=\"./packages/*\" build",
1414
"publish-package": "pnpm publish-package",
1515
"build-docs": "pnpm run --filter=\"./apps/website\" build",

packages/ai/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"main": "dist/index.js",
99
"types": "dist/index.d.ts",
1010
"scripts": {
11-
"lint": "tsc --noEmit",
11+
"check-types": "tsc --noEmit",
1212
"build": "tsc"
1313
},
1414
"repository": {

packages/analytics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
},
1818
"scripts": {
19-
"lint": "tsc --noEmit",
19+
"check-types": "tsc --noEmit",
2020
"build": "tsc"
2121
},
2222
"repository": {

packages/cache/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"dist"
99
],
1010
"scripts": {
11-
"lint": "tsc --noEmit",
11+
"check-types": "tsc --noEmit",
1212
"build": "tsc"
1313
},
1414
"repository": {

packages/commandkit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
}
147147
},
148148
"scripts": {
149-
"lint": "tsc --noEmit",
149+
"check-types": "tsc --noEmit",
150150
"dev": "pnpm run --filter=test-bot dev",
151151
"build": "tsdown",
152152
"publish-package": "npm publish",

packages/create-commandkit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"homepage": "https://commandkit.dev",
3030
"scripts": {
31-
"lint": "tsc --noEmit",
31+
"check-types": "tsc --noEmit",
3232
"dev": "tsc --watch",
3333
"build": "tsc",
3434
"publish-package": "npm publish"

packages/devtools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
77
"scripts": {
8-
"lint": "tsc --noEmit",
8+
"check-types": "tsc --noEmit",
99
"build:ui": "pnpm --filter=@commandkit/devtools-ui build",
1010
"copy-ui": "node -e \"require('node:fs').cpSync('../devtools-ui/dist', './ui', {recursive:true})\"",
1111
"build": "pnpm run build:ui && pnpm run copy-ui && pnpm run build:server",

0 commit comments

Comments
 (0)