From 6a66e97646982ca3b6ada441281fcb8b741c84af 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..4b896e802fb7 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: TRAVIS=1 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 CI=1 TRAVIS=1 ./node_modules/.bin/jest --ci