Skip to content

Commit

Permalink
CI: Make prettier print the diff on error (#4479)
Browse files Browse the repository at this point in the history
Co-authored-by: pajlada <[email protected]>
Co-authored-by: Felanbird <[email protected]>
  • Loading branch information
3 people authored Mar 26, 2023
1 parent 1fbbef3 commit f7ac526
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f7ac526

Please sign in to comment.