From 63633b2508e6e857d696b053e0f51486648331ec Mon Sep 17 00:00:00 2001 From: Marco 'Lubber' Wienkoop Date: Thu, 22 Dec 2022 22:01:48 +0100 Subject: [PATCH] fix(ci): color git diff output in case prettier finds an error, the git diff is hard to recognize the actual difference so one knows what to fix. I added the --color switch so the changes are easier recognizable in the actions log --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad5655a50c..456ec08f23 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: yarn add -D github:fomantic/prettier#2.8.1-patched && npx prettier --loglevel warn '!dist' '!test/coverage' '!src/semantic.less' '**/*.{css,less,overrides,variables}' --write && git restore package.json yarn.lock - && git add . -N && git diff --exit-code + && git add . -N && git diff --color --exit-code test: name: Test build process on node ${{ matrix.node-version }} runs-on: ubuntu-latest