DEV: Update CI workflows (#23)

Co-authored-by: justindirose <justindirose@users.noreply.github.com>
This commit is contained in:
discoursebot 2021-01-04 14:17:18 -06:00 committed by GitHub
parent ad1f1f2d9e
commit 7cb4044c7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -34,7 +34,7 @@ jobs:
run: yarn install --dev
- name: ESLint
run: yarn eslint --ext .js,.js.es6 --no-error-on-unmatched-pattern assets/javascripts
run: yarn eslint --ext .js,.js.es6 --no-error-on-unmatched-pattern {test,assets}/javascripts
- name: Prettier
run: |
@ -42,6 +42,9 @@ jobs:
if [ -d "assets" ]; then \
yarn prettier --list-different "assets/**/*.{scss,js,es6}" ; \
fi
if [ -d "test" ]; then \
yarn prettier --list-different "test/**/*.{js,es6}" ; \
fi
- name: Rubocop
run: bundle exec rubocop .