From c501aa08e72c2d2dfd12431c93f72d7b91975607 Mon Sep 17 00:00:00 2001
From: John Coghlan <jcoghlan@gitlab.com>
Date: Thu, 12 Dec 2019 15:03:06 +0000
Subject: [PATCH] Update .gitlab-ci.yml

---
 .gitlab-ci.yml | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 351aa3d..c53099f 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
-- 
GitLab