Stop caching Vite pre-bundled deps in shared-components vitest CI (#34472)

Signed-off-by: David Langley <davidl@element.io>
This commit is contained in:
David Langley
2026-07-31 13:03:35 +00:00
committed by GitHub
parent 4be2863fa8
commit 7ffb0ffced
+3 -2
View File
@@ -129,12 +129,13 @@ jobs:
run: "pnpm install"
if: matrix.path == 'packages/shared-components'
- name: Cache storybook & vitest
- name: Cache storybook
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
with:
# NB: node_modules/.vite/vitest is intentionally not cached; a lockfile-keyed stale bundle
# triggers a mid-run re-optimise + page reload that flakes browser-mode tests.
path: |
${{ matrix.path }}/node_modules/.cache
${{ matrix.path }}/node_modules/.vite/vitest
key: ${{ matrix.path }}-${{ hashFiles('pnpm-lock.yaml') }}
- name: Setup playwright