diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a3c44c8f571f3fe61cc8cd42e07b6159a8c47cea..d75a36f5f41bc7f117a3791d7376b14f7b57ab89 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,7 @@ stages:
   - test
 
 before_script:
+  - sudo npm install -g
   - npm install
 
 run_tests: