Skip to content

Commit ee7781c

Browse files
committed
store cache in .nx and cache this??
1 parent 8c7335b commit ee7781c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
# Only cache this per-PR to speed up CI.
121121
if: github.event_name == 'pull_request'
122122
with:
123-
path: .nxcache
123+
path: .nx
124124
key: ${{ env.NX_CACHE_KEY }}
125125

126126
- name: Upload build artifacts
@@ -675,7 +675,7 @@ jobs:
675675
dependency_cache_key: ${{ needs.job_build.outputs.dependency_cache_key }}
676676
- name: Check for dts files that reference stuff in the temporary build folder
677677
run: |
678-
if grep -r --include "*.d.ts" --exclude-dir ".nxcache" 'import("@sentry(-internal)?/[^/]*/build' .; then
678+
if grep -r --include "*.d.ts" --exclude-dir ".nx" 'import("@sentry(-internal)?/[^/]*/build' .; then
679679
echo "Found illegal TypeScript import statement."
680680
exit 1
681681
fi
@@ -879,7 +879,7 @@ jobs:
879879
- name: Restore NX cache
880880
uses: actions/cache/restore@v5
881881
with:
882-
path: .nxcache
882+
path: .nx
883883
key: ${{ env.NX_CACHE_KEY }}
884884

885885
- name: Build tarballs

nx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
}
6262
},
6363
"$schema": "./node_modules/nx/schemas/nx-schema.json",
64-
"cacheDirectory": ".nxcache",
64+
"cacheDirectory": ".nx/cache",
6565
"tui": {
6666
"autoExit": true
6767
},

0 commit comments

Comments
 (0)