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