diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 45dd8b869de304c34f02442ee55e9d81ede18f18..11cb3cb729cf0c9984229904ba67a95ac2f22454 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,14 +4,13 @@ stages:
 publish_npm:
   image: "node:current-alpine"
   stage: publish-npm
+  variables:
+    GIT_SUBMODULE_STRATEGY: recursive
   before_script:
     - apk add --update bash
     - apk add --update make
     - apk add --update protobuf-dev
     - apk add --update yarn
-    - apk add --update git
-    - git config --global http.sslVerify "false"
-    - git submodule init
 
   rules:
     - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'