From ce7195bbce21c8c6d2a79451b2c532a4efa4f8b9 Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Sat, 29 Oct 2022 16:09:05 +0100 Subject: [PATCH] Force colour on Action run See e.g. https://github.com/chalk/supports-color/issues/106 --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 125d69ddd91..5660205b853 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,4 +27,8 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm install + env: + FORCE_COLOR: 2 - run: npm run test + env: + FORCE_COLOR: 2