fix: Z.AI default glm-5.2[1m] → glm-5.2 (API rejects the [1m] id) (v2… #4
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 | |
| # Test + type-check gate on every push/PR. Until now the 1100+ vitest suite | |
| # and tsc only ran locally — releases shipped to npm/GitHub/Homebrew without | |
| # CI ever executing them. This closes that gap; release-binaries.yml runs | |
| # the same suite again as a pre-publish gate. | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: oven-sh/setup-bun@v2 | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Type-check | |
| run: bunx tsc --noEmit | |
| - name: Test (vitest) | |
| run: bun run test |