ci(cd): include api bytecode in runner cleanup
All checks were successful
Code Review / ai-code-review (push) Successful in 14s

This commit is contained in:
Your Name
2026-05-21 18:02:23 +08:00
parent 75f1ef0ca1
commit 7cc898caf1
2 changed files with 5 additions and 2 deletions

View File

@@ -44,6 +44,9 @@ has_leftovers() {
[ -d "$root/apps/web/tests/e2e/.auth" ] && return 0
[ -d "$root/node_modules" ] && return 0
[ -d "$root/apps/web/node_modules" ] && return 0
find "$root/apps/api/tests" "$root/apps/api/src" \
-type d -name __pycache__ -print -quit \
2>/dev/null | grep -q . && return 0
find "$root/apps" "$root/packages" \
-mindepth 2 -maxdepth 2 -type d -name node_modules -print -quit \
2>/dev/null | grep -q .