Skip to content

fix(ci): preserve .turbo cache in self-hosted runners - #223

Merged
Gaubee merged 1 commit into
mainfrom
fix/ci-preserve-turbo-cache
Jan 12, 2026
Merged

Gaubee merged 1 commit into
mainfrom
fix/ci-preserve-turbo-cache

Conversation

@Gaubee

@Gaubee Gaubee commented Jan 12, 2026

Copy link
Copy Markdown
Contributor

Problem

git clean -fdx was deleting .turbo cache directories on every CI run, causing full rebuilds instead of incremental builds.

Solution

Add -e .turbo -e '**/.turbo' exclusions to git clean commands in both CI and CD workflows.

Impact

  • Faster CI/CD builds on self-hosted runners
  • Turbo can now leverage cached build outputs across runs

- Add -e .turbo -e '**/.turbo' to git clean commands
- Enables incremental builds across CI runs on self-hosted runners
@Gaubee
Gaubee force-pushed the fix/ci-preserve-turbo-cache branch from ffdab95 to 11f8a77 Compare January 12, 2026 05:00
@Gaubee
Gaubee merged commit 5114cb5 into main Jan 12, 2026
11 of 15 checks passed
@Gaubee
Gaubee deleted the fix/ci-preserve-turbo-cache branch January 12, 2026 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant