diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 71e10756949a73210a18ab2108e604371315803b..7d5ab0bcce0d2abc6cacc9a310a6bfcfc8600ffb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,7 +8,7 @@ publish_npm:
     GIT_SUBMODULE_STRATEGY: recursive
   before_script:
     - apk --no-cache add git
-    - git submodule update --remote --merge
+    - git submodule update --remote --merge --allow-unrelated-histories
     - apk add --update make bash protobuf-dev yarn
     - npm install -g ts-proto@1.158.0
     - npm install -g typescript@5.1.6