diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 351aa3df4b563dba43dfe91ae69f232c8874ec3a..c53099f752467e7eb9d438409182e233c0327390 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,16 +1,18 @@
-image: node:latest
-# This folder is cached between builds
-# http://docs.gitlab.com/ce/ci/yaml/README.html#cache
-cache:
-  paths:
-    - node_modules/
+image: node:10
+
 pages:
+  cache:
+    paths:
+    - node_modules/
+
   script:
-    - cd website
-    - npm install
-    - ./node_modules/.bin/gatsby build --prefix-paths
+  - cd website
+  - yarn
+  - yarn run build
+  
   artifacts:
     paths:
-      - public
+    - public
+    
   only:
-    - master
\ No newline at end of file
+  - master