Files
Florian Körner dabb7ddba5 ci: add format and type-check jobs
test.yml is called by publish.yml and both deploy workflows, so whatever fails
there blocks an npm release and a deploy. Formatting should not.

The new format job gathers all five formatters into one place and carries
continue-on-error, so a violation becomes its own red check while the run stays
green. Every step is guarded with !cancelled() to report all of them in one pass
instead of stopping at the first. None of these results depend on the language
version, so they leave the matrix jobs behind: the same four checks ran eleven
times per run before this.

lint-js is soft for the same reason. type-check-js is not. It gates, and it is
the only place the two Vue apps get checked at all, because the build step above
filters them out. apps/docs gains the vue-tsc script it never had, which is how
four type errors sat in its theme unnoticed.
2026-08-01 14:32:39 +02:00

22 lines
409 B
JSON

{
"$schema": "https://turbo.build/schema.json",
"tasks": {
"build": {
"dependsOn": ["^build"],
"outputs": ["lib/**", ".vitepress/dist/**", "dist/**"]
},
"test": {
"dependsOn": ["build"],
"cache": false
},
"type-check": {
"dependsOn": ["^build"]
},
"dev": {
"dependsOn": ["^build"],
"persistent": true,
"cache": false
}
}
}