diff --git a/packages/craco/lib/user-config-utils.js b/packages/craco/lib/user-config-utils.js
index <HASH>..<HASH> 100644
--- a/packages/craco/lib/user-config-utils.js
+++ b/packages/craco/lib/user-config-utils.js
@@ -14,6 +14,10 @@ function whenProd(fct) {
     return when(process.env.NODE_ENV === "production", fct);
 }
 
+function whenCI(fct) {
+    return when(process.env.NODE_ENV === "CI", fct);
+}
+
 function whenTest(fct) {
     return when(process.env.NODE_ENV === "test", fct);
 }
Added a whenCI helper for config