Revert Vercel AI SDK adoption and implement clean abstraction for LLM providers #321
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
env: | |
pnpm-version: 10.2.1 | |
node-version: 23 | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: ${{ env.pnpm-version }} | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.node-version }} | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Build | |
run: pnpm build | |
- name: Install browsers | |
run: cd packages/agent && pnpm exec playwright install --with-deps chromium | |
- name: Test | |
run: pnpm test | |
- name: Lint | |
run: pnpm lint |