You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-5Lines changed: 29 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,30 @@ Bot de automacao para buscar vagas no LinkedIn com foco em Brasil remoto e expor
18
18
-`src/linkedinScraper.js`: coleta HTTP, paginacao e extracao das vagas
19
19
-`src/exporter.js`: geracao de Excel e PDF
20
20
-`src/logger.js`: logs padronizados
21
+
-`src/jobsApiApp.js`: monta as rotas da API Express (reutilizado nos testes)
22
+
-`src/server.js`: entrypoint da API (`dotenv` + listen)
23
+
-`test/`: testes automatizados (Vitest)
24
+
25
+
## Testes e CI (validar antes do PR)
26
+
27
+
O workflow [`.github/workflows/ci.yml`](.github/workflows/ci.yml) roda testes do backend, lint e build do frontend em PRs e em push para `master` e `develop`. No GitHub, ative *branch protection* com o check **CI / validate** obrigatorio se quiser bloquear merge com falha.
28
+
29
+
**Com dependencias ja instaladas** (raiz + `frontend`):
30
+
31
+
```bash
32
+
npm run validate
33
+
```
34
+
35
+
**Espelho do que o CI faz** (reinstala com `npm ci` na raiz e no frontend — mais lento, util antes de abrir PR):
0 commit comments