ci(frontend): vitest job in Forgejo Actions gate #1135

Merged
bot-backend merged 1 commit from ci/frontend-vitest-job into main 2026-06-07 11:52:10 +00:00

1 commit

Author SHA1 Message Date
9f32153126 ci(frontend): add vitest job to Forgejo Actions gate
All checks were successful
CI / changes (push) Successful in 7s
CI / changes (pull_request) Successful in 5s
CI / frontend-tests (push) Successful in 45s
CI / frontend-tests (pull_request) Successful in 49s
CI / backend-tests (push) Successful in 6m25s
CI / backend-tests (pull_request) Successful in 6m19s
Run the merged frontend vitest suite on every frontend-touching PR so the
tests don't rot. Mirrors the #1032 backend gate: per-job dorny/paths-filter
(new `frontend` output, `frontend/**`), node:20 + npm cache on the lockfile,
`npm ci --legacy-peer-deps --no-audit --no-fund` (exact frontend/Dockerfile
flags), then `npm run test`. Additive — backend-tests job unchanged; no
top-level paths filter so frontend-only PRs already trigger the workflow.
Making frontend-tests a required check is a follow-up in the Forgejo UI.

Refs #999.
2026-06-07 16:51:40 +05:00