I am having an issue while trying to set up a Github action that runs my Jest test suite. It 
CodePudding user response:
Assuming you run your tests with npm test, you can set the environment variable FORCE_COLOR and thereby make jest use color in GitHub Actions as well:
- run: npm test
env:
FORCE_COLOR: true
