diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0ae0ea3198aa5c8d1335afe9fa4579b822c9ee6f..52a80436be7fa0bff188555163d44c49bf14222c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,6 +14,7 @@ publish_npm:
     - apk add --update git
     - git config --global http.sslVerify "false"
     - git submodule init
+    - git submodule update --recursive --remote
 
   rules:
     - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'