Files
renovate/.github
Sergei Zharinov cc08ce00a3 refactor(config): enable incremental TypeScript builds (#40184)
* refactor(config): enable incremental TypeScript builds

Enable TypeScript incremental compilation to dramatically improve
type-check performance for local development.

Performance improvements:
- Cold cache: 1:44 → 1:05 (~40% faster)
- Warm cache: 1:44 → ~9s (~10x faster)
- After file change: 1:44 → ~12s (~8x faster)

The build info is stored in `.cache/tsbuildinfo` which is already
gitignored. IDE/LSP is unaffected as tsserver maintains its own
in-memory project graph.

* chore(ci): cache tsbuildinfo for faster type-check

Add cache restore/save for the TypeScript incremental build info
to speed up type-check in CI. Cache is keyed by pnpm-lock.yaml hash
and saved on push events.

* Update .github/workflows/build.yml

Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>

* fix(ci): align tsbuildinfo cache keys with eslint/prettier pattern

Use `run_id`/`run_attempt` for save key uniqueness instead of `github.sha`
to match the existing cache key patterns used for eslint and prettier.

---------

Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2025-12-29 18:42:59 +00:00
..