Skip to content

Commit ee5084f

Browse files
authored
autofix: Stop type-checking the vscode project (#9891)
Typechecking the vscode project needs a wasm build of slint so the types are generated. This stop that so autofix should now run in ~1 minute. If this works the next stage will be to run autofix before all other jobs and only kick them off once its successful. The reason for this is we only have 20 runners. Autofix and the normal ci.yaml jobs start. This takes up 10 to 15 runners. After 5-6 mins autofix often finds a problem. Makes a new commit and now the other ~15 jobs need to be cancelled. So in theory we can reduce pointless jobs running.
1 parent 5cee39b commit ee5084f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.mise/tasks.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ depends = ["prepare:pnpm-install"]
5050

5151
["lint:ts:typecheck"]
5252
description = "Run pnpm format:fix"
53-
run = "pnpm type-check"
54-
depends = ["prepare:pnpm-install", "build:lsp:wasm", "build:interpreter:wasm"]
53+
run = "pnpm type-check:ci"
54+
depends = ["prepare:pnpm-install"]
5555

5656
### Build
5757

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"format:fix": "biome format biome.json --write && pnpm --stream -r format:fix",
99
"lint": "pnpm --stream -r lint",
1010
"lint:fix": "pnpm --stream -r lint:fix",
11-
"type-check": "pnpm --stream -r type-check"
11+
"type-check": "pnpm --stream -r type-check",
12+
"type-check:ci": "pnpm --stream --filter '!./editors/vscode' -r type-check"
1213
},
1314
"packageManager": "[email protected]",
1415
"pnpm": {

0 commit comments

Comments
 (0)