Commit d2e95a46 authored by Rémy Coutable's avatar Rémy Coutable

Use a more optimized caching strategy for 'coverage-frontend'

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 41b1755f
......@@ -250,11 +250,13 @@ jest-as-if-foss:
coverage-frontend:
extends:
- .default-retry
- .yarn-cache
- .frontend:rules:ee-mr-and-master-only
needs: ["jest"]
stage: post-test
before_script:
- yarn install --frozen-lockfile --cache-folder .yarn-cache --prefer-offline
- source scripts/utils.sh
- retry yarn install --frozen-lockfile
script:
- yarn node scripts/frontend/merge_coverage_frontend.js
artifacts:
......@@ -263,8 +265,7 @@ coverage-frontend:
paths:
- coverage-frontend/
cache:
paths:
- .yarn-cache/
policy: pull
.qa-frontend-node:
extends:
......
......@@ -238,3 +238,5 @@ danger-review:
- source scripts/utils.sh
- retry yarn install --frozen-lockfile
- danger --fail-on-errors=true --verbose
cache:
policy: pull
Markdown is supported
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