diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a70155d0726da937ff8620c2278c52793f982fc7..11126a59a40b91e412dc7a212e9b970b2d60873c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,7 +2,8 @@
 test:
   image: ubuntu
   script:
-    - curl -sL https://deb.nodesource.com/setup_10.x | bash -
+    - apt install -y curl
+    - curl -sL https://deb.nodesource.com/setup_8.x | bash -
     - apt update
     - apt install -y nodejs
     - rm ./package-lock.json