Skip to content

Commit 8d70d4b

Browse files
fix: override turbo_api env var (vercel#7234)
### Description For some reason Hetzner is setting `TURBO_API` which is causing us to not use the remote cache [e.g.](https://github.com/vercel/turbo/actions/runs/7757236744/job/21156328810?pr=7223#step:6:79) ### Testing Instructions Verify that JS Packages now uses the correct remote cache (no remote cache warnings): [job](https://github.com/vercel/turbo/actions/runs/7759230611/job/21162847801?pr=7234#step:6:1) Closes TURBO-2226
1 parent 9fb6e4f commit 8d70d4b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,8 +368,9 @@ jobs:
368368
github-token: "${{ secrets.GITHUB_TOKEN }}"
369369

370370
- name: Run tests
371+
# We manually set TURBO_API to an empty string to override Hetzner env
371372
run: |
372-
turbo run check-types test --filter=docs --filter={./packages/*}...[${{ github.event.pull_request.base.sha || 'HEAD^1' }}] --color --env-mode=strict
373+
TURBO_API= turbo run check-types test --filter=docs --filter={./packages/*}...[${{ github.event.pull_request.base.sha || 'HEAD^1' }}] --color --env-mode=strict
373374
env:
374375
EXPERIMENTAL_RUST_CODEPATH: true
375376

0 commit comments

Comments
 (0)