Add comprehensive demo with CI/CD pipeline

- Complete GitHub Actions workflow for demo deployment
- Playwright test suite with 50+ tests
- Performance monitoring and accessibility testing
- Cross-browser compatibility testing
- Local deployment scripts and documentation
This commit is contained in:
Peter Hanssens
2025-09-23 19:12:15 +10:00
parent 9b122deca0
commit 7f4486b6f0
56 changed files with 14784 additions and 466 deletions

View File

@@ -193,17 +193,8 @@ export default defineConfig({
/* Run your local dev server before starting the tests */
webServer: [
{
command: 'cd examples/leptos && trunk serve --port 8082',
port: 8082,
reuseExistingServer: !isCI,
timeout: 120 * 1000,
stdout: 'pipe',
stderr: 'pipe',
},
// Additional server for WASM tests
{
command: 'cd minimal-wasm-test && python3 -m http.server 8083',
port: 8083,
command: 'cd examples/comprehensive-demo && python3 -m http.server 8001',
port: 8001,
reuseExistingServer: !isCI,
timeout: 30 * 1000,
stdout: 'pipe',
@@ -231,7 +222,7 @@ export default defineConfig({
maxFailures: isCI ? 10 : undefined,
/* Update snapshots */
updateSnapshots: process.env.UPDATE_SNAPSHOTS === 'true',
updateSnapshots: process.env.UPDATE_SNAPSHOTS === 'true' ? 'all' : 'none',
/* Ignore test files */
testIgnore: [