From c29ed8c9127dcc04d6ac0c1cfc9103193486c1fe Mon Sep 17 00:00:00 2001
From: Julian Rother <julian@cccv.de>
Date: Fri, 11 Oct 2024 17:41:53 +0200
Subject: [PATCH] Force --env-mode=loose to fix build with turbo v2

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bfffd83..ab3b293 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,7 +37,7 @@ autoupdate:
   - meteor --version
   - cd rocketchat && YARN_CHECKSUM_BEHAVIOR=update yarn install --json && git diff yarn.lock && cd ..
   # yarn build:ci uses hard-coded /tmp/dist directory for build output
-  - cd rocketchat && yarn build:ci && cd .. && mv /tmp/dist ./build
+  - cd rocketchat && yarn build:ci --env-mode=loose && cd .. && mv /tmp/dist ./build
   - cd build/bundle/programs/server/ && npm install --production && cd ../../../..
   artifacts:
     paths:
-- 
GitLab