mirror of
https://github.com/expo/eas-cli.git
synced 2026-11-13 20:28:08 -10:00
<!-- If this PR requires a changelog entry, add it by commenting the PR with the command `/changelog-entry [breaking-change|new-feature|bug-fix|chore] [message]`. --> <!-- You can skip the changelog check by labeling the PR with "no changelog". --> # Why We moved more packages into this monorepo and the existing test setup didn’t scale well: - the root Jest config only covered a subset of packages, - PRs ran heavier “all tests” workflows, - worker builds ran on PRs even though typecheck + tests were enough. This PR aligns testing with the dependency graph, reduces unnecessary CI work, and standardizes Jest config handling. # How - Switched root testing to Lerna and updated docs. - CI now runs affected+dependent tests on PRs and all packages on main. - Coverage runs via Lerna with per-package reports (no merge) and is kept for PRs. - Worker builds are skipped on PRs; worker workflow triggers include dependency paths on main. - All Jest configs are now TypeScript with a shared base (`jest/jest.shared.config.ts`) and use `@jest/types` to avoid TS config parsing errors. - CI stays unit-only (no integration tests). # Test Plan Not run locally. CI covers: - `yarn lerna run test` (affected on PRs, all on main) - `yarn lerna run test -- --coverage`