fix: backend tests breaking with permision + together ai missing costs for non-streamed requests #1
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: backend-tests | |
| on: | |
| pull_request: | |
| branches: | |
| - "**" | |
| jobs: | |
| test-backend: | |
| name: Backend (npm run test:backend) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Use Node.js 22.x | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22.x | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run backend tests | |
| run: npm run test:backend |