Files
Elie Habib d05e5f1d55 ci: enforce edge bundle, edge tests, MDX lint, version sync on PRs (#2296)
* ci: enforce edge bundle, edge tests, MDX lint, version sync on PRs

These checks run in the pre-push hook but were missing from CI,
letting external contributors bypass them. Now all 4 run on every PR:
- Edge function esbuild bundle check (catches Vercel deploy breakage)
- Edge function tests (tests/edge-functions.test.mjs)
- MDX lint (tests/mdx-lint.test.mjs, Mintlify compatibility)
- Version sync check (package.json / tauri.conf.json / Cargo.toml parity)

* fix(ci): use find for bundle check (covers subdirs), drop duplicate test steps

- Replace `api/*.js` glob with `find api/ -name "*.js" -not -name "_*"`
  to cover api/eia/, api/youtube/, api/enrichment/ (6 files were missed)
- Remove explicit edge-functions and mdx-lint steps — test:data already
  runs tests/*.test.mjs which includes both files
2026-03-26 19:23:49 +04:00
..