CI / build + unit + e2e (pull_request) Successful in 14m43s
The run page's Job summaries panel showed vitest results (vitest's built-in github-actions reporter auto-appends $GITHUB_STEP_SUMMARY in CI) but nothing about the Playwright suite. The E2E step now also runs the built-in json reporter (--reporter=list,json, output pinned to git-ignored test-results/e2e.json via PLAYWRIGHT_JSON_OUTPUT_FILE), and a new non-fatal 'E2E job summary' step (if: always()) parses it with an inline node script and appends spec-level passed/failed/skipped counts + failed spec names (file > title) to $GITHUB_STEP_SUMMARY. Guarded so a missing/malformed report can never fail or mask the e2e step's real exit code; no test behavior, timeouts, workers or retries changed.
31 lines
729 B
JSON
31 lines
729 B
JSON
{
|
|
"name": "flight-ops",
|
|
"version": "0.66.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev -p 3000",
|
|
"build": "next build",
|
|
"start": "next start -p 3000",
|
|
"assets:download": "node scripts/download-map-assets.mjs",
|
|
"test": "vitest run",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"drizzle-orm": "^0.45.2",
|
|
"maplibre-gl": "^6.10.0",
|
|
"next": "^16.3.5",
|
|
"react": "^19.3.0",
|
|
"react-dom": "^19.3.0",
|
|
"sql.js": "^1.14.2"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "1.63.0",
|
|
"@types/node": "^22.20.3",
|
|
"@types/react": "^19.3.0",
|
|
"@types/react-dom": "^19.3.0",
|
|
"@types/sql.js": "^1.4.11",
|
|
"typescript": "^7.0.2",
|
|
"vitest": "^5.0.1"
|
|
}
|
|
}
|