-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node.js tools doesn't use color outputs because of wrong TTY detection #218
Comments
Auto assigning script was failed, so I will mention people manually. Sorry if I will mention somebody wrong: |
Yarn 2 is currently impacted as well. I'll use a workaround in the meantime, but I'll monitor these issues to add the right fix when possible 🙂 |
This may be an issue for actions/runner. @TingluoHuang and @dakale , is that correct? |
@bryanmacfarlane yes, I think the issue already tracked |
Closing in favor of tracking in actions/runner#241 |
Jest doesn't output colors too |
Describe the bug
chalk
is the most popular tool for color output in the Node.js ecosystem. Unfortunately, it can’t detect that GitHub Actions support color and use colorless output.I created an issue and we found that Node.js does not detect
TTY
on stdout.As a result, we have less readable output in all npm tools.
Area for Triage: JavaScript and Node.js
Question, Bug, or Feature?: Bug
Virtual environments affected
Expected behavior
Color output for
chalk
based tools.Actual behavior
index.js
npx size-limit index.js
stepThe text was updated successfully, but these errors were encountered: