FIX: Pretter linting step
This commit is contained in:
parent
d92bba85a0
commit
6605c104ac
|
@ -34,14 +34,15 @@ jobs:
|
|||
|
||||
- name: Prettier
|
||||
if: ${{ always() }}
|
||||
shell: bash
|
||||
run: |
|
||||
yarn prettier -v
|
||||
shopt -s extglob
|
||||
if ls assets/**/*.@(scss|js|es6) &> /dev/null; then \
|
||||
yarn prettier --list-different "assets/**/*.{scss,js,es6}" ; \
|
||||
if ls assets/**/*.@(scss|js|es6) &> /dev/null; then
|
||||
yarn prettier --list-different "assets/**/*.{scss,js,es6}"
|
||||
fi
|
||||
if ls test/**/*.@(js|es6) &> /dev/null; then \
|
||||
yarn prettier --list-different "test/**/*.{js,es6}" ; \
|
||||
if ls test/**/*.@(js|es6) &> /dev/null; then
|
||||
yarn prettier --list-different "test/**/*.{js,es6}"
|
||||
fi
|
||||
|
||||
- name: Ember template lint
|
||||
|
|
Loading…
Reference in New Issue