mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
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:
parent
1fbbef34bf
commit
f7ac526c35
5
.github/workflows/lint.yml
vendored
5
.github/workflows/lint.yml
vendored
|
@ -22,4 +22,7 @@ jobs:
|
||||||
uses: actionsx/prettier@e90ec5455552f0f640781bdd5f5d2415acb52f1a
|
uses: actionsx/prettier@e90ec5455552f0f640781bdd5f5d2415acb52f1a
|
||||||
with:
|
with:
|
||||||
# prettier CLI arguments.
|
# prettier CLI arguments.
|
||||||
args: --check .
|
args: --write .
|
||||||
|
- name: Show diff
|
||||||
|
run: git --no-pager diff --exit-code --color=never
|
||||||
|
shell: bash
|
||||||
|
|
Loading…
Reference in a new issue