Skip to content

Commit 68f32e2

Browse files
committed
ci: Cache NX cache in GHA
1 parent ff97b94 commit 68f32e2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,11 @@ jobs:
174174
with:
175175
path: ${{ env.CACHED_BUILD_PATHS }}
176176
key: ${{ env.BUILD_CACHE_KEY }}
177+
- name: NX cache
178+
uses: actions/cache@v3
179+
with:
180+
path: node_modules/.cache/nx
181+
key: ${{ runner.os }}-nx
177182
- name: Build packages
178183
# Under normal circumstances, using the git SHA as a cache key, there shouldn't ever be a cache hit on the built
179184
# packages, and so `yarn build` should always run. This `if` check is therefore only there for testing CI issues

0 commit comments

Comments
 (0)