Handle non-JSON response formats #34
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: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| test: | |
| name: Test (Node ${{ matrix.node-version }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20, 22, 24] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 1.3.0 | |
| - name: Install dependencies | |
| run: | | |
| bun install --frozen-lockfile | |
| bun install -g turbo | |
| - name: Check formatting | |
| run: turbo run format:check lint:check check-types | |
| - name: Type check and build | |
| run: turbo run build | |
| - name: Run tests | |
| run: turbo run coverage | |
| - name: Upload coverage reports | |
| if: matrix.node-version == 24 | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| fail_ci_if_error: false | |
| files: ./packages/zenko/coverage/lcov.info |