Skip to content

Commit b0b460c

Browse files
ci: skip Nx cache for test and test-affected commands (#4882)
1 parent 306ed5a commit b0b460c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
cache-dependency-path: '**/pnpm-lock.yaml'
6262
- run: pnpm install --frozen-lockfile --prefer-offline
6363
- uses: nrwl/nx-set-shas@v4
64-
- run: pnpm exec nx affected -t test --exclude=docs-app,www
64+
- run: pnpm exec nx affected -t test --exclude=docs-app,www --skip-nx-cache
6565

6666
e2e-affected:
6767
runs-on: ubuntu-latest

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
cache-dependency-path: '**/pnpm-lock.yaml'
6464
- run: pnpm install --frozen-lockfile --prefer-offline
6565
- uses: nrwl/nx-set-shas@v4
66-
- run: pnpm exec nx run-many -t test --exclude=docs-app,www
66+
- run: pnpm exec nx run-many -t test --exclude=docs-app,www --skip-nx-cache
6767

6868
e2e:
6969
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)