mirror of
https://github.com/discourse/discourse-rewind.git
synced 2025-07-07 14:22:12 +00:00
FIX: Pretter linting step
This commit is contained in:
parent
d92bba85a0
commit
6605c104ac
9
.github/workflows/plugin-linting.yml
vendored
9
.github/workflows/plugin-linting.yml
vendored
@ -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…
x
Reference in New Issue
Block a user