diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0add11d4a808f61ff52037579260aadadb664d39..6ed4a5c5e075c1034e0624bb4a2ccea0f1bbab52 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,6 +16,9 @@ build-documentation:
   stage: build_documentation
   script:
     - yarn docs:build
+    - npm install --force --global yarn
+    - yarn install
+    - yarn docs:build
   artifacts:
     paths:
       - styleguide