From de6e8284338870881970ca006c489ad5fd9da830 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Tue, 11 Aug 2020 18:11:05 -0400 Subject: [PATCH] try fix highlight issues --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d95d6dbb0f24..35fcf8552fce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,5 +41,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: Test on node.js ${{ matrix.node-version }} + # Hack: --color has supports-color@5 returned true for GitHub CI + # Remove once `chalk` is bumped to 4.0. run: | - BABEL_ENV=test ./node_modules/.bin/jest --ci + BABEL_ENV=test node ./node_modules/.bin/jest --ci --color