Skip to content

Commit

Permalink
DEV: Update CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Discourse CI committed Oct 9, 2020
1 parent 944eec6 commit 379964d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/plugin-linting.yml
Expand Up @@ -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 .

0 comments on commit 379964d

Please sign in to comment.