fix: bump chromadb<2.0 (cp312 wheels), publish 0.3.4; bump vitest to … #14
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
| # @wbx-modified copilot-a3f7·MTN | 2026-04-24 | TS SDK CI | |
| name: ts-sdk | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "clients/typescript/**" | |
| - ".github/workflows/ts-sdk.yml" | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "clients/typescript/**" | |
| - ".github/workflows/ts-sdk.yml" | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: clients/typescript | |
| strategy: | |
| matrix: | |
| node-version: ["18", "20", "22"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Node ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install | |
| run: npm install --no-audit --no-fund | |
| - name: Typecheck | |
| run: npx tsc --noEmit | |
| - name: Test | |
| run: npx vitest run --reporter=basic | |
| - name: Build | |
| run: npx tsup src/index.ts --format esm,cjs --dts --clean |