Skip to content

Commit

Permalink
ci(gitlab): remove the per job cache configs that were pointing to th…
Browse files Browse the repository at this point in the history
…e 'default' cache

so now the per job cache that is configured globally will be used instead
  • Loading branch information
sverweij committed Dec 30, 2017
1 parent 4e293d3 commit 29cd984
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
cache:
key: "$CI_JOB_NAME"
untracked: true
paths:
- node_modules

test_async_node_latest:
image: node:latest
cache:
paths:
- node_modules/
script:
- rm -rf node_modules
- npm install
Expand All @@ -19,9 +18,6 @@ test_async_node_latest:

test_async_node_8:
image: node:8
cache:
paths:
- node_modules/
script:
- rm -rf node_modules
- npm install
Expand All @@ -31,9 +27,6 @@ test_async_node_8:

test_async_node_6:
image: node:6
cache:
paths:
- node_modules/
script:
- rm -rf node_modules
- npm install
Expand All @@ -43,9 +36,6 @@ test_async_node_6:

test_async_node_4:
image: node:4
cache:
paths:
- node_modules/
script:
- rm -rf node_modules
- npm install
Expand Down

0 comments on commit 29cd984

Please sign in to comment.