From 677ccfdf7e6ef7c405f49adf40f92a68933127bb Mon Sep 17 00:00:00 2001 From: Justin Date: Tue, 17 May 2022 07:39:59 -0400 Subject: [PATCH 1/2] 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 0d140029f..49d9d0e20 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 From 492c227cc36280779bffddeb50e7722b78f68932 Mon Sep 17 00:00:00 2001 From: Justin Date: Tue, 17 May 2022 07:42:37 -0400 Subject: [PATCH 2/2] Rename to dashes --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 49d9d0e20..d78f27a52 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,7 +17,7 @@ stages: - build - deploy -install_dependencies: +install-dependencies: stage: install script: - yarn install --ignore-scripts