Fix modules dir tsc not running in CI (#33811)

* Fix modules dir tsc not running in CI

* Switch to nx run-many for ci task

This has smarter scheduling logic for dependant tasks
This commit is contained in:
Michael Telatynski
2026-06-11 11:37:47 +01:00
committed by GitHub
parent 2d434c72d4
commit 2d24778214
5 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ jobs:
run: "pnpm install --frozen-lockfile"
- name: Run ${{ matrix.command }}
run: pnpm --if-present run "$CMD" && pnpm -r --workspace-concurrency=1 --if-present run "$CMD"
run: pnpm nx run-many -t "$CMD" -p
env:
CMD: ${{ matrix.command }}
+4 -1
View File
@@ -112,6 +112,9 @@
"matrix-seshat": "4.3.0"
},
"nx": {
"includedScripts": []
"includedScripts": [
"lint:types",
"lint:js"
]
}
}
+1 -1
View File
@@ -4,7 +4,7 @@
"type": "module",
"scripts": {
"lint:js": "eslint --max-warnings 0 playwright */src -c ./.eslintrc.cjs",
"lint:ts": "tsc --noEmit",
"lint:types": "nx lint:types --",
"test:playwright": "nx test:playwright --",
"test:playwright:open": "nx test:playwright -- --ui",
"test:playwright:screenshots": "nx test:playwright:screenshots --"
+5
View File
@@ -3,6 +3,11 @@
"projectType": "library",
"implicitDependencies": ["modules/*"],
"targets": {
"lint:types": {
"command": "tsc --noEmit",
"options": { "cwd": "modules" },
"dependsOn": ["^build:playwright"]
},
"test:playwright": {
"command": "playwright test",
"options": { "cwd": "modules" },
+2 -1
View File
@@ -59,5 +59,6 @@
"onFail": "error"
}
},
"private": true
"private": true,
"nx": {}
}