Skip to content

Commit 2e11562

Browse files
committed
consolidate logging and failure
1 parent 03fb04f commit 2e11562

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/pr-validation.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,10 @@ jobs:
104104
# Annotation happens in separate workflow (pr-reports.yml)
105105
# This allows annotations to work for fork PRs too
106106

107-
- name: Show ESLint errors in console
108-
if: steps.eslint.outcome == 'failure'
109-
run: pnpm lintcached
110-
111107
- name: Fail if ESLint has errors
112108
if: steps.eslint.outcome == 'failure'
113109
run: |
114-
echo "::error::ESLint found errors - check output above or download artifact for details"
110+
pnpm lintcached
115111
exit 1
116112
117113
build:

0 commit comments

Comments
 (0)