Skip to content

Commit d8c5d43

Browse files
committed
ci(create-e2e): assert cache hit on second monorepo run
1 parent a4f935f commit d8c5d43

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/test-vp-create.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,4 +264,11 @@ jobs:
264264
- name: Verify cache (monorepo only)
265265
if: matrix.template.name == 'monorepo'
266266
working-directory: ${{ runner.temp }}/test-project
267-
run: ${{ matrix.template.verify-command }}
267+
run: |
268+
output=$(vp run ready 2>&1)
269+
echo "$output"
270+
if ! echo "$output" | grep -q 'cache hit'; then
271+
echo "✗ Expected cache hit on second run"
272+
exit 1
273+
fi
274+
echo "✓ Cache hit verified"

0 commit comments

Comments
 (0)