aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris2017-05-08 22:42:43 +0200
committerJoris2017-05-08 22:42:43 +0200
commitc9f046a9e5a8ab5a95e213f8db4667cfebc8058d (patch)
tree735d1d4b5556cede60ac3ae29a614eea45e692da
parent6d35b2e155cb29925602d9718052d5ce03e9e764 (diff)
Improve gitlab-ci speed
-rw-r--r--.gitignore1
-rw-r--r--.gitlab-ci.yml8
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: