DEV: Update CI workflows
This commit is contained in:
parent
b11414a516
commit
0376aa9a2b
|
@ -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…
Reference in New Issue