diff --git a/.github/workflows/units-tests-reusable.yml b/.github/workflows/units-tests-reusable.yml index fe270b1de004c..1f64b2e27c6c3 100644 --- a/.github/workflows/units-tests-reusable.yml +++ b/.github/workflows/units-tests-reusable.yml @@ -50,6 +50,7 @@ jobs: run: pnpm install --frozen-lockfile - name: Setup build cache + if: inputs.collectCoverage != true uses: rharkor/caching-for-turbo@v1.5 - name: Build diff --git a/turbo.json b/turbo.json index 0da2b6e54d873..49fc3c4ff5012 100644 --- a/turbo.json +++ b/turbo.json @@ -1,6 +1,7 @@ { "$schema": "https://turbo.build/schema.json", "ui": "stream", + "globalEnv": ["CI", "COVERAGE_ENABLED"], "tasks": { "clean": { "cache": false