From e43bdbff97d6f54a8bf77924323fbde3e004268a Mon Sep 17 00:00:00 2001 From: Lloyd Brookes Date: Tue, 11 Jun 2024 11:26:08 +0200 Subject: [PATCH] enable ansi colour in Github Actions for test purposes --- .github/workflows/node.js.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 24bf2b9..1b3ba35 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -25,5 +25,7 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' + env: + FORCE_COLOR: 3 # To enable testing of ansi-coloured output - run: npm install - run: npm run test