Hardens the upload path check and the deploy verification

A remote of . or .. could have made the cleanup pass delete the wrong folder, so
such paths are refused before anything runs. A connection error now ends in the
normal summary instead of aborting the check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-01 19:31:21 +01:00
co-authored by Claude Opus 5.5
parent afd9923950
commit 6d4d01238a
9 changed files with 215 additions and 15 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import { afterEach, vi } from 'vitest';
// breakpoint hooks (min-width queries) and prefers-reduced-motion behave as
// in a browser. jsdom has no layout and ignores @media rules, so the
// responsive display of the desktop list and the mobile menu is applied by a
// style element here (the browser check is Step 17). The stub is undone by
// style element here (the browser tests in e2e/ check the real layout). The stub is undone by
// vi.restoreAllMocks() in the global afterEach.
const styleId = 'nav-viewport-style';