mirror of
https://github.com/discourse/discourse.git
synced 2026-08-04 10:23:17 -05:00
DEV: Run prettier and rubocop in parallel for CI (#17357)
This commit is contained in:
@@ -62,7 +62,7 @@ jobs:
|
||||
|
||||
- name: Rubocop
|
||||
if: ${{ always() }}
|
||||
run: bundle exec rubocop .
|
||||
run: bundle exec rubocop --parallel .
|
||||
|
||||
- name: ESLint (core)
|
||||
if: ${{ always() }}
|
||||
@@ -76,7 +76,7 @@ jobs:
|
||||
if: ${{ always() }}
|
||||
run: |
|
||||
yarn prettier -v
|
||||
yarn prettier --list-different \
|
||||
yarn pprettier --list-different \
|
||||
"app/assets/stylesheets/**/*.scss" \
|
||||
"app/assets/javascripts/**/*.js" \
|
||||
"plugins/**/assets/stylesheets/**/*.scss" \
|
||||
|
||||
Reference in New Issue
Block a user