This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 56bc4338 authored by Daniel Rainer's avatar Daniel Rainer
Browse files

Use cache only for single commit

parent 48d94389
Branches
2 merge requests!188Merging Peer Reviewing et. al to Master,!164211 peer reviewing functionality
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment