Skip to content

Commit c13c924

Browse files
fix: modify CI workflow to build SDK first without skip cache
- Build SDK with skip cache first to ensure workspace dependencies are available - Then build all packages with normal caching to resolve TypeScript module resolution issues - This ensures workspace packages are properly built and available for dependent packages 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 627568f commit c13c924

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ jobs:
5555
- name: Print Number of CPU Cores
5656
run: nproc
5757

58-
- name: Warm Nx Cache
59-
run: npx nx run-many --targets=build --projects=tag:type:pkg --parallel=4 --skip-nx-cache
58+
- name: Build SDK with skip cache to ensure workspace deps available
59+
run: npx nx build sdk --skip-nx-cache
6060

6161
- name: Run Build for All
62-
run: npx nx run-many --targets=build --projects=tag:type:pkg --parallel=4 --skip-nx-cache
62+
run: npx nx run-many --targets=build --projects=tag:type:pkg --parallel=4
6363

6464
- name: Check Package Publishing Compatibility
6565
run: |

0 commit comments

Comments
 (0)