about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--package.json3
-rw-r--r--yarn.lock7
2 files changed, 9 insertions, 1 deletions
diff --git a/package.json b/package.json
index 86bb8283b..4f22c7458 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
   "version": "1.41.0",
   "private": true,
   "scripts": {
-    "prepare": "husky install",
+    "prepare": "is-ci || husky install",
     "postinstall": "patch-package",
     "prebuild": "expo prebuild",
     "android": "expo run:android",
@@ -178,6 +178,7 @@
     "eslint-plugin-ft-flow": "^2.0.3",
     "html-webpack-plugin": "^5.5.0",
     "husky": "^8.0.3",
+    "is-ci": "^3.0.1",
     "jest": "^29.4.3",
     "jest-expo": "^48.0.2",
     "jest-junit": "^15.0.0",
diff --git a/yarn.lock b/yarn.lock
index b6a727831..0169dedee 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -11678,6 +11678,13 @@ is-ci@^2.0.0:
   dependencies:
     ci-info "^2.0.0"
 
+is-ci@^3.0.1:
+  version "3.0.1"
+  resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-3.0.1.tgz#db6ecbed1bd659c43dac0f45661e7674103d1867"
+  integrity sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==
+  dependencies:
+    ci-info "^3.2.0"
+
 is-core-module@^2.11.0, is-core-module@^2.9.0:
   version "2.12.1"
   resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.12.1.tgz#0c0b6885b6f80011c71541ce15c8d66cf5a4f9fd"