From 7cb4044c7ffa451c861218613b08c69c7ff5b7df Mon Sep 17 00:00:00 2001 From: discoursebot Date: Mon, 4 Jan 2021 14:17:18 -0600 Subject: [PATCH] DEV: Update CI workflows (#23) Co-authored-by: justindirose --- .github/workflows/plugin-linting.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/plugin-linting.yml b/.github/workflows/plugin-linting.yml index 7534015..17864e9 100644 --- a/.github/workflows/plugin-linting.yml +++ b/.github/workflows/plugin-linting.yml @@ -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 .