From c9f046a9e5a8ab5a95e213f8db4667cfebc8058d Mon Sep 17 00:00:00 2001 From: Joris Date: Mon, 8 May 2017 22:42:43 +0200 Subject: Improve gitlab-ci speed --- .gitignore | 1 - .gitlab-ci.yml | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index c499586..886423d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ _cache public -dist .stack-work output node_modules diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 26fcb23..2df9fa6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,10 +1,10 @@ cache: paths: - - node_modules + - .stack-work - output + - node_modules - bower_components - - _cache - - .stack + - yarn.lock stages: - install_purescript @@ -29,12 +29,12 @@ prepare_site: - export STACK_ROOT=`pwd`/.stack - stack setup - stack install --only-dependencies + - stack build pages: image: haskell:latest stage: pages script: - - stack build - stack exec cooking build artifacts: paths: -- cgit v1.2.3