File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,22 @@ jobs:
103103 - name : Environment Information
104104 run : npx envinfo
105105 - name : Lint JavaScript files
106- run : NODE=$(command -v node) make lint-js
106+ run : |
107+ NODE=$(command -v node) make lint-js
108+ EXIT_CODE="$?"
109+ if [ "$EXIT_CODE" != "0" ]
110+ then
111+ echo
112+ echo
113+ echo
114+ echo 'ERROR: The JavaScript lint validation failed (the errors are logged above).'
115+ echo ' Please fix the lint errors.'
116+ echo ' Run:'
117+ echo ' make lint-js-fix'
118+ echo ' to fix the auto-fixable lint issues.'
119+ echo
120+ exit "$EXIT_CODE"
121+ fi
107122 - name : Get release version numbers
108123 if : ${{ github.event.pull_request && github.event.pull_request.base.ref == github.event.pull_request.base.repo.default_branch }}
109124 id : get-released-versions
You can’t perform that action at this time.
0 commit comments