diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b88c5efaf3673fcf59b6571204441ae1f43a5e9f..ddfa7978c6dc9280db6ebf98d0653e26e90cb7bd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,7 +4,12 @@ stages:
 build-doc:
   stage: build
   image: ubuntu:20.04
+  tags:
+    - node
   script:
+    - apt update
+    - apt upgrade -y
+    - apt install -y curl sudo
     - curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
     - apt install -y nodejs
     - npm install --global yarn