Skip to content

Commit 0d45fa0

Browse files
authored
👷 Show format errors in action log (#710)
Eg for #706
1 parent b82ea88 commit 0d45fa0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎.github/workflows/lint.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ jobs:
4242
4343
- name: "Checking format errors"
4444
run: |
45-
pnpm --filter ...[${{ steps.since.outputs.SINCE }}] format:check
45+
# Could also use pnpm --filter [${{ steps.since.outputs.SINCE }}] format:check
46+
# But this way we can see the diff
47+
pnpm --filter [${{ steps.since.outputs.SINCE }}] format
48+
git diff | head -n 100
49+
git diff --name-only --exit-code
4650
4751
- name: Check types
4852
run: pnpm --filter ...[${{ steps.since.outputs.SINCE }}] check

0 commit comments

Comments
 (0)