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