diff options
author | Joris | 2017-05-08 22:42:43 +0200 |
---|---|---|
committer | Joris | 2017-05-08 22:42:43 +0200 |
commit | c9f046a9e5a8ab5a95e213f8db4667cfebc8058d (patch) | |
tree | 735d1d4b5556cede60ac3ae29a614eea45e692da | |
parent | 6d35b2e155cb29925602d9718052d5ce03e9e764 (diff) |
Improve gitlab-ci speed
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | .gitlab-ci.yml | 8 |
2 files changed, 4 insertions, 5 deletions
@@ -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: |