Fix bug where tool call content wouldn't remain during stream (#5) #24
This file contains 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 | |
jobs: | |
main: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: latest | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
- name: Install pnpm dependencies | |
run: pnpm install | |
- name: Run lint | |
run: pnpm run lint | |
- name: Run type-checking | |
run: pnpm run type-check | |
- name: Run unit tests | |
run: pnpm run test |