mirror of
https://github.com/cloud-shuttle/leptos-shadcn-ui.git
synced 2025-12-22 22:00:00 +00:00
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:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user