feat(ci): run prettier in ci

7 jobs for !210 with feat/black_prettier_in_ci in 2 minutes and 20 seconds (queued for 1 second)
detached
Status Job ID Name Coverage
  Check And Lint
passed #933804
docker
check_back

00:00:36

passed #933805
docker
check_front

00:02:20

failed #933806
docker
lint_backend

00:00:32

failed #933807
docker
lint_frontend_and_documentation

00:01:11

 
  Test
skipped #933808
docker
test_back
skipped #933809
docker
test_frontend
 
  Svg Gen Docu
skipped #933810
docker
generate_UML_svg
 
Name Stage Failure
failed
lint_frontend_and_documentation Check And Lint
$ prettier --check ../documentation
Checking formatting...
../documentation/ProdRelated/maintenance/update_major_minor.md
Code style issues found in the above file(s). Forgot to run Prettier?
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
lint_backend Check And Lint
Authenticating with credentials from job payload (GitLab Registry)
$ cd backend
$ black --check .
would reformat /builds/rex-dri/rex-dri/backend/base_app/views.py
All done! 💥 💔 💥
1 file would be reformatted, 158 files would be left unchanged.
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1