Skip to content

Commit

Permalink
ci: build first
Browse files Browse the repository at this point in the history
  • Loading branch information
raaymax committed Jul 22, 2024
1 parent e26d416 commit f35229c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions alfred/ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f35229c

Please sign in to comment.