Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Support more CI services in getColorDepth
  • Loading branch information
Richienb authored Oct 9, 2021
commit 9af5816d5e50767b1e227beaa773f97c826b8754
3 changes: 2 additions & 1 deletion lib/internal/tty.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ function getColorDepth(env = process.env) {

if (env.CI) {
if ('TRAVIS' in env || 'CIRCLECI' in env || 'APPVEYOR' in env ||
'GITLAB_CI' in env || env.CI_NAME === 'codeship') {
'GITLAB_CI' in env || 'GITHUB_ACTIONS' in env || 'BUILDKITE' in env ||
'DRONE' in env || env.CI_NAME === 'codeship') {
return COLORS_256;
}
return COLORS_2;
Expand Down