diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index aed4003649bceb84d26e4d43ffa38e486e703bab..5eaaec1eeb8e0f71ff91c5256366cf4315e6decc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,6 +17,8 @@ test_api:
 build_front:
   stage: build
   image: node:6-alpine
+  before_script:
+    - cd front
   script:
     - npm install
     - npm run build