From b344d5be7f1eb8b31cf9ddba5aa0e8116422a772 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Fri, 10 May 2019 11:26:36 +0100 Subject: [PATCH] Cache node_modules --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 53840b3f..fef279c2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,12 @@ stages: - build - deploy +# Cache modules in between jobs +cache: + key: ${CI_COMMIT_REF_SLUG} + paths: + - node_modules/ + build: stage: build image: electronuserland/builder:wine