CI: Make prettier print the diff on error (#4479)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com> Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
This commit is contained in:
@@ -22,4 +22,7 @@ jobs:
|
||||
uses: actionsx/prettier@e90ec5455552f0f640781bdd5f5d2415acb52f1a
|
||||
with:
|
||||
# prettier CLI arguments.
|
||||
args: --check .
|
||||
args: --write .
|
||||
- name: Show diff
|
||||
run: git --no-pager diff --exit-code --color=never
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user