diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5828d28b1a38884d72167cd58df2756555cb2fe7..5be6ae29c21f9c3ce6a6e845c93eec6b60ad7f4f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,10 +2,9 @@ image: node:6.2
 
 cache:
     paths:
-        - /cache
+        - node_modules
 
 before_script:
-    - npm config set cache /cache
     - npm install --silent
     - node_modules/.bin/typings install
 
@@ -14,15 +13,3 @@ run_tests:
         - npm test
     tags:
         - node
-
-pages:
-    script:
-        - npm run doc-api
-        - cp -r doc public
-    tags:
-        - node
-    artifacts:
-        paths:
-            - public
-    only:
-        - master