chore(ci): improving CI reliability when caching (#11501)

This fixes a case where potentially some static files get not properly
treated as inputs in the hash for nx cache calculation.

Also it fixes a problem where the assets.mdx get sorted randomly each
generation.

Factors in some overlap from
https://github.com/zitadel/zitadel/pull/11447

---------

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
Florian Forster
2026-02-04 07:02:52 +00:00
committed by GitHub
co-authored by Copilot
parent 0999e44821
commit 04c58c5b3f
4 changed files with 135 additions and 15 deletions
+2
View File
@@ -68,6 +68,8 @@ jobs:
NX_DAEMON: "false"
NX_DISABLE_DB: "true"
run: pnpm nx affected --nxBail --targets lint test build --exclude @zitadel/docs
- name: Check for uncommitted changes (Codegen mismatch)
run: git diff --exit-code
- name: Suggest Pipeline Fix By Nx Cloud AI
if: failure() || cancelled()
env: