diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index beae32cc37dd33df3f77b100d7f1f23197149759..f53392591e5551758311cef76ed981e15f8d3c30 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,10 +17,9 @@ before_script: npm-install: stage: setup script: - - echo "$CI_COMMIT_REF_NAME" - npm install cache: - key: '$CI_COMMIT_REF_NAME' + key: '$CI_COMMIT_SHA' paths: - node_modules/ policy: pull-push @@ -42,7 +41,7 @@ prettier: allow_failure: true needs: [npm-install] cache: - key: '$CI_COMMIT_REF_NAME' + key: '$CI_COMMIT_SHA' paths: - node_modules/ policy: pull @@ -56,7 +55,7 @@ eslint: allow_failure: true needs: [npm-install] cache: - key: '$CI_COMMIT_REF_NAME' + key: '$CI_COMMIT_SHA' paths: - node_modules/ policy: pull @@ -122,7 +121,7 @@ frontend-test: allow_failure: true needs: [npm-install] cache: - key: '$CI_COMMIT_REF_NAME' + key: '$CI_COMMIT_SHA' paths: - node_modules/ policy: pull