diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 977623889..84064d3bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,9 @@ jobs: - name: Install React app run: npm ci + - name: Run prettier + run: make prettier-check + - name: Build images run: make build diff --git a/makefile b/makefile index 0ef149537..0c3c77af6 100644 --- a/makefile +++ b/makefile @@ -102,15 +102,23 @@ ruff-check: # Run ruff in check mode ruff: # Run ruff $(run-host) ruff check --fix . +prettier-check: + npx prettier . --check + +prettier: + npx prettier . --write + check: # Run formatters to see if there are any errors make ruff-check make black-check make isort-check + make prettier-check fix: # Run formatters to fix any issues that can be fixed automatically make ruff make black make isort + make prettier # Front End webpack: # Run webpack