ci(web): cut web CI time — desktop-only PR Playwright suite, single vite build per merge path #1376
Loading…
Reference in a new issue
No description provided.
Delete branch "ci/web-test-speed"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
Web CI was the slow lane on every merge to main and every web PR:
smoke-web/Check web/fallback (npm run check && npm run build, measured ~57 s of vite build) and again inside the deploy image build (measured ~94 s).What
apps/web/package.json: newtest:ciscript =playwright test --project=desktop.npm run test(both projects) stays for local use and the nightly.build-deploy.ymlPR "Run web tests" step usestest:ci. Mobile-project coverage moves to the nightly.smoke-web, scoped "Check web" and "Check fallback web build inputs" dropnpm run build— svelte-check/paraglide only. The vite build happens exactly once, in the deploy image build itself.daily-full-tests.ymlrenamed its web step to "Web Playwright suite (all projects, full suite nightly)" and keepsnpm run build && npm run testunchanged (it needs the build for the preview server; drop the redundantnpm run checkthere).Expected effect (measured from run 5581)
Verification
Smoke webstep time and next web PR'sRun scoped PR tests.