DEV: Always run all linting tests in GitHub actions, even on failure (#12265)

This means that if you have multiple failures, they can all be seen in a single run
This commit is contained in:
David Taylor 2021-03-02 18:25:48 +00:00 committed by GitHub
parent 0019e2e110
commit 7a53873568
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -57,15 +57,19 @@ jobs:
run: yarn install
- name: Rubocop
if: ${{ always() }}
run: bundle exec rubocop .
- name: ESLint (core)
if: ${{ always() }}
run: yarn eslint --ext .js,.js.es6 --no-error-on-unmatched-pattern app/assets/javascripts
- name: ESLint (core plugins)
if: ${{ always() }}
run: yarn eslint --ext .js,.js.es6 --no-error-on-unmatched-pattern plugins/**/{test,assets}/javascripts
- name: Prettier
if: ${{ always() }}
run: |
yarn prettier -v
yarn prettier --list-different \
@ -75,13 +79,16 @@ jobs:
"plugins/**/assets/javascripts/**/*.{js,es6}"
- name: Ember template lint
if: ${{ always() }}
run: |
yarn ember-template-lint \
app/assets/javascripts \
plugins/**/assets/javascripts
- name: English locale lint (core)
if: ${{ always() }}
run: bundle exec ruby script/i18n_lint.rb "config/**/locales/{client,server}.en.yml"
- name: English locale lint (core plugins)
if: ${{ always() }}
run: bundle exec ruby script/i18n_lint.rb "plugins/**/locales/{client,server}.en.yml"