From 0376aa9a2b29ab0837a75ac1ee7bfd2f1ca1cb46 Mon Sep 17 00:00:00 2001 From: Discourse CI Date: Fri, 9 Oct 2020 19:03:16 +0000 Subject: [PATCH] DEV: Update CI workflows --- .github/workflows/plugin-linting.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/plugin-linting.yml b/.github/workflows/plugin-linting.yml index a1911994..1420239f 100644 --- a/.github/workflows/plugin-linting.yml +++ b/.github/workflows/plugin-linting.yml @@ -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 .