From 677ccfdf7e6ef7c405f49adf40f92a68933127bb Mon Sep 17 00:00:00 2001 From: Justin Date: Tue, 17 May 2022 07:39:59 -0400 Subject: [PATCH] Add 'install' step and cache it --- .gitlab-ci.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0d140029fa..49d9d0e207 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,17 +8,22 @@ cache: files: - yarn.lock paths: - - node_modules + - node_modules/ stages: + - install - lint - test - build - deploy -before_script: - - env - - yarn +install_dependencies: + stage: install + script: + - yarn install --ignore-scripts + artifacts: + paths: + - node_modules/ lint-js: stage: lint