test: add frontend test suite
Some checks failed
Deploy to Frontend Servers / deploy (push) Failing after 43s

This commit is contained in:
TerryM
2026-05-16 18:21:37 +08:00
parent f59d1e8e2a
commit a29ec8ed92
17 changed files with 1624 additions and 12 deletions

View File

@@ -24,6 +24,7 @@ Before proposing a push or deploy, run:
```bash
npx tsc --noEmit
npm run format:check
npm test
```
If code formatting is needed, run:
@@ -64,9 +65,10 @@ VITE_DISABLE_ADMIN=true
1. `npm ci`
2. `npx tsc --noEmit`
3. `npm run format:check`
4. `npm run build` with production public env
5. rsync `dist/` to both frontend servers
6. compare remote `index.html` checksums
4. `npm test`
5. `npm run build` with production public env
6. rsync `dist/` to both frontend servers
7. compare remote `index.html` checksums
## Agent behavior preferences