diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a39cfc0665e08fa8e8f270825edc06b4ab78b93f..a7852e69f0a0e056d2891530cd54665b6f96c8fd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,19 +9,20 @@ trigger:
   script:
     - "curl -X POST -F token=$GITLAB_TOKEN -F ref=master https://git.ok1kvk.cz/api/v3/projects/72/trigger/builds"
 
-before_script:
-  - node --version
-  - npm --version
-  - npm install
-
 basictest:
   stage: test
   script:
+    - node --version
+    - npm --version
+    - npm install
     - node index.js --contentdir sitegin/tests/content --staticdir sitegin/tests/static --builddir build --noserver
 
 unittest:
   stage: test
   script:
+    - node --version
+    - npm --version
+    - npm install
     - npm test
   artifacts:
     paths: