Skip to content

Commit

Permalink
fix(core): improve isCI to better detect other providers (#22694)
Browse files Browse the repository at this point in the history
  • Loading branch information
luckened committed Apr 12, 2024
1 parent 54c42c1 commit 134cbbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/create-nx-workspace/src/utils/ci/is-ci.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export function isCI() {
return (
process.env.CI === 'true' ||
(process.env.CI && process.env.CI !== 'false') ||
process.env.TF_BUILD === 'true' ||
process.env.GITHUB_ACTIONS === 'true' ||
process.env.BUILDKITE === 'true' ||
Expand Down
2 changes: 1 addition & 1 deletion packages/nx/src/utils/is-ci.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export function isCI() {
return (
process.env.CI === 'true' ||
(process.env.CI && process.env.CI !== 'false') ||
process.env.TF_BUILD === 'true' ||
process.env.GITHUB_ACTIONS === 'true' ||
process.env.BUILDKITE === 'true' ||
Expand Down

0 comments on commit 134cbbc

Please sign in to comment.