diff --git a/alfred/ci.py b/alfred/ci.py index 350481c2a..0ac5f4fb7 100644 --- a/alfred/ci.py +++ b/alfred/ci.py @@ -15,13 +15,13 @@ def ci(front, back, e2e, docs): no_flags = (not front and not back and not e2e and not docs) + if front or no_flags: + alfred.invoke_command("npm.lint") + alfred.invoke_command("npm.build") if back or no_flags: alfred.invoke_command("ci.mypy") alfred.invoke_command("ci.ruff") alfred.invoke_command("ci.pytest") - if front or no_flags: - alfred.invoke_command("npm.lint") - alfred.invoke_command("npm.build") if docs or no_flags: alfred.invoke_command("npm.docs.test") if e2e: