Files
vercel__chat/.github
josh 776a849aaf ci: guard ai@6/ai@7 dual-major support (#704)
## summary

#691 widened the `ai` peer to `^6 || ^7`, but the workspace
devDependency pins ai@7 so CI only exercised v7. this adds an
`ai-sdk-v6-compat` job that forces the v6 constellation (ai@6 + matching
`@ai-sdk/react`/`svelte`/`vue` majors via `pnpm.overrides`) and builds,
typechecks, and tests `chat` and `@chat-adapter/web` against it. it's
wired into the required `build-and-test` summary so a v6 regression
can't land unnoticed

## test plan

- ran the job's steps locally against ai@6: `chat` (1044 tests) and
`@chat-adapter/web` (21 tests) build, typecheck, and pass
- YAML validated

Signed-off-by: dancer <josh@afterima.ge>
2026-07-13 13:00:49 +01:00
..
2026-02-27 09:26:44 -08:00