mirror of
https://github.com/discourse/discourse-solved.git
synced 2025-03-09 14:37:15 +00:00
DEV: Update CI workflows
This commit is contained in:
parent
0d7fe398ac
commit
11ea96f073
9
.github/workflows/plugin-linting.yml
vendored
9
.github/workflows/plugin-linting.yml
vendored
@ -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…
x
Reference in New Issue
Block a user