Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f5c016e31 |
@@ -51,9 +51,19 @@ jobs:
|
|||||||
- name: Verify Linters
|
- name: Verify Linters
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
if [ "${{ steps.html_lint.outcome }}" != "success" ] || \
|
FAILED=0
|
||||||
[ "${{ steps.style_lint.outcome }}" != "success" ] || \
|
if [ "${{ steps.html_lint.outcome }}" != "success" ]; then
|
||||||
[ "${{ steps.js_lint.outcome }}" != "success" ]; then
|
echo "HTML Linter failed"
|
||||||
echo "At least one linter failed."
|
FAILED=1
|
||||||
|
fi
|
||||||
|
if [ "${{ steps.style_lint.outcome }}" != "success" ]; then
|
||||||
|
echo "Style Linter failed"
|
||||||
|
FAILED=1
|
||||||
|
fi
|
||||||
|
if [ "${{ steps.js_lint.outcome }}" != "success" ]; then
|
||||||
|
echo "JS Linter failed"
|
||||||
|
FAILED=1
|
||||||
|
fi
|
||||||
|
if [ $FAILED -eq 1 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
Reference in New Issue
Block a user