Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 412aff2

Browse files
committed
chore: enable build-cache
1 parent 11b287f commit 412aff2

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,10 @@ jobs:
102102

103103
- name: Run SSR e2e
104104
run: yarn nx run ssr-e2e:e2e --headless
105+
105106
# don't run build in parallel, can cause dead locks
106107
- name: Run Affected build
107-
# @Notice: Nx cache broke build dependencies defined by "dependsOn" property.
108-
# The issue is, if the cache is hit, cdk isn't build in order before template, resulting in the following error:
109-
# https://github.com/rx-angular/rx-angular/runs/4286264078?check_suite_focus=true
110-
run: NX_CLOUD_DISTRIBUTED_EXECUTION=false yarn nx affected:build
108+
run: yarn nx affected:build --parallel=false
111109

112110
- run: yarn nx-cloud stop-all-agents
113111

nx.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
"runner": "@nrwl/nx-cloud",
1616
"options": {
1717
"cacheableOperations": [
18+
"build-schematics",
19+
"build-base",
20+
"build-lib",
21+
"build",
1822
"lint",
1923
"test",
2024
"e2e"

0 commit comments

Comments
 (0)