ci: improve prettier output
Created by: valerybugakov
Context
Minor improvement to prettier-check
output using the --check
flag.
Relevant thread from the prettier repo for context.
As a follow-up, we can also consider using the approach with automatic formatting in the main Sourcegraph repo.