diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dca57eeb5615fd26fa4ed449b98da158e8e52984..447e60ac68aef2e16b69f2afff3a98e9734b5ca8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,9 +19,7 @@ npm-install: script: - npm install cache: - key: - files: - - package-lock.json + key: '$CI_COMMIT_REF_NAME' paths: - node_modules/ policy: pull-push @@ -43,9 +41,7 @@ prettier: allow_failure: true needs: [npm-install] cache: - key: - files: - - package-lock.json + key: '$CI_COMMIT_REF_NAME' paths: - node_modules/ policy: pull @@ -59,9 +55,7 @@ eslint: allow_failure: true needs: [npm-install] cache: - key: - files: - - package-lock.json + key: '$CI_COMMIT_REF_NAME' paths: - node_modules/ policy: pull @@ -127,9 +121,7 @@ frontend-test: allow_failure: true needs: [npm-install] cache: - key: - files: - - package-lock.json + key: '$CI_COMMIT_REF_NAME' paths: - node_modules/ policy: pull