Skip to content

Commit

Permalink
force color support in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed May 1, 2020
1 parent 1148a75 commit cc8420f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,14 @@ jobs:

- name: Run tests
if: matrix.node-version != '14.x' || matrix.os != 'ubuntu-latest'
env:
FORCE_COLOR: 3
run: npm test

- name: Run coverage report
if: matrix.node-version == '14.x' && matrix.os == 'ubuntu-latest'
run: npm test
env:
FORCE_COLOR: 3
# The environment variable name is leveraged by `tap`
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}

0 comments on commit cc8420f

Please sign in to comment.