mirror of
https://github.com/discourse/discourse-math.git
synced 2025-03-06 17:39:13 +00:00
DEV: Update CI workflows
This commit is contained in:
parent
8f4d6b223c
commit
45dd10e964
9
.github/workflows/plugin-linting.yml
vendored
9
.github/workflows/plugin-linting.yml
vendored
@ -39,9 +39,12 @@ jobs:
|
||||
- name: Prettier
|
||||
run: |
|
||||
yarn prettier -v
|
||||
[ -d "assets" ] && \
|
||||
yarn prettier --list-different \
|
||||
"assets/**/*.{scss,js,es6}"
|
||||
if [ -d "assets" ]; then \
|
||||
yarn prettier --list-different \
|
||||
"assets/**/*.{scss,js,es6}" \
|
||||
else \
|
||||
exit 0 \
|
||||
fi
|
||||
|
||||
- name: Rubocop
|
||||
run: bundle exec rubocop .
|
||||
|
Loading…
x
Reference in New Issue
Block a user