naibaandcloudcode bb6abeb9a6 ci: run Playwright e2e against a real Go backend in GitHub Actions
Boot a fresh dashboard from nezhahq/nezha master inside the runner:

- Checkout admin-frontend and the backend repo into two paths.
- Generate the two embed stubs and swag docs so cmd/dashboard builds.
- Inject NZ_JWTSECRETKEY (env-first config story) and start the
  backend on 127.0.0.1:8008 with a tmp SQLite db.
- Wait on /api/v1/setting before letting Playwright launch.
- Playwright config brings up Vite dev which proxies /api to 8008.
- Upload playwright-report and dashboard.log on failure for triage.

Co-authored-by: cloudcode <cloudcode@users.noreply.github.com>
2026-05-26 04:34:43 +00:00
2024-12-15 09:45:56 +08:00
2024-12-13 23:51:33 +08:00
2025-10-02 14:23:11 +08:00
2024-12-13 23:51:33 +08:00
2024-11-09 00:07:21 +08:00
2024-12-13 23:51:33 +08:00
2024-12-13 23:51:33 +08:00
2024-12-13 23:51:33 +08:00
2025-10-02 14:23:11 +08:00

Nezha Admin Frontend

Bootstrap

npx swagger-typescript-api -p http://localhost:8008/swagger/doc.json -o ./src/types -n api.ts --no-client --union-enums
S
Description
No description provided
Readme Apache-2.0
2.1 MiB
Languages
TypeScript 91.6%
HTML 7.4%
CSS 0.7%
JavaScript 0.3%