We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da8c1fb commit 0681b34Copy full SHA for 0681b34
.github/workflows/build.yml
@@ -260,7 +260,11 @@ jobs:
260
key: prettier-main-cache
261
262
- name: Lint
263
- run: pnpm prettier --cache-location .cache/prettier
+ run: |
264
+ pnpm prettier --write --cache-location .cache/prettier || {
265
+ echo "[ERROR] Please apply the changes prettier suggests:"
266
+ git diff --color=always; exit 1;
267
+ }
268
269
- name: Remove cache
270
if: github.event_name == 'push'
0 commit comments