DEV: Update CI workflows
This commit is contained in:
parent
f893e42ae5
commit
a1389a3b6f
|
@ -39,9 +39,12 @@ jobs:
|
||||||
- name: Prettier
|
- name: Prettier
|
||||||
run: |
|
run: |
|
||||||
yarn prettier -v
|
yarn prettier -v
|
||||||
[ -d "assets" ] && \
|
if [ -d "assets" ]; then \
|
||||||
yarn prettier --list-different \
|
yarn prettier --list-different \
|
||||||
"assets/**/*.{scss,js,es6}"
|
"assets/**/*.{scss,js,es6}" \
|
||||||
|
else \
|
||||||
|
exit 0 \
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Rubocop
|
- name: Rubocop
|
||||||
run: bundle exec rubocop .
|
run: bundle exec rubocop .
|
||||||
|
|
Loading…
Reference in New Issue