From e5d4221a0affadecc81275613bdc8b6e873055c7 Mon Sep 17 00:00:00 2001 From: Marco Zeisler Date: Tue, 11 May 2021 23:40:18 +0200 Subject: [PATCH] pull cache --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4a6cbfa..682bc78 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,6 +29,9 @@ build_fe: key: $CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR paths: - node_modules/ + only: + changes: + - frontend/package-lock.json extends: - .build @@ -57,7 +60,6 @@ build_be: lint_fe: script: - cd ./frontend - - npm update - ng lint extends: - .lint @@ -66,9 +68,7 @@ lint_fe: key: $CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR paths: - node_modules/ - policy: pull-push - needs: - - build_fe + policy: pull #lint_be: # script: