ci(frontend): vitest job in Forgejo Actions gate #1135
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#1135
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "ci/frontend-vitest-job"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Что
Добавляет job
frontend-testsв Forgejo Actions, чтобы влитый vitest-сьют (PR #1132) гонялся на каждом frontend-PR (иначе тесты «сгниют» — будущие PR их не запустят).Содержимое
Зеркалит backend-gate (#1032): per-job
dorny/paths-filter@v3(новый outputfrontend, фильтрfrontend/**+ci.yml), node:20 + npm-cache на lockfile,npm ci --legacy-peer-deps --no-audit --no-fund(точные флагиfrontend/Dockerfile), затемnpm run test. Аддитивно —backend-testsне тронут;next buildНЕ здесь (тяжёлый, verified в deploy). Новый чек:CI / frontend-tests (pull_request).Качество
Self-reviewed: YAML валиден, все 3 job на
ubuntu-latest(консистентный runner), backend-job byte-unchanged, npm-флаги совпадают с Dockerfile, paths-filter зеркалит существующий паттерн. Этот PR (меняет ci.yml) сам триггерит и backend-tests, и frontend-tests → self-test нового job.Follow-up (owner/admin — бот не может)
Сделать
frontend-testsrequired-чеком в Forgejo UI (Settings → Branches → branch-protection main), какbackend-testsв #1032. До этого job гоняется и репортит, но не блокирует merge.Refs #999.