fix: preserve transformed Responses stream events #4390
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
| # Copy from https://github.com/spf13/cobra | |
| # https://github.com/spf13/cobra/blob/master/LICENSE.txt | |
| name: Test | |
| on: | |
| push: | |
| branches: | |
| - "unstable" | |
| - "release/**" | |
| pull_request: | |
| branches: | |
| - "unstable" | |
| - "release/**" | |
| env: | |
| GO111MODULE: on | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Set up Go | |
| uses: actions/setup-go@v7 | |
| with: | |
| go-version: stable | |
| - name: Test | |
| run: make test-backend-all | |
| test-frontend-unit: | |
| name: Test Frontend Unit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| with: | |
| version: 10 | |
| run_install: false | |
| # The *.test.mjs suites import .ts modules directly, which needs native | |
| # TypeScript type stripping (enabled by default since Node 22.18). | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: '24' | |
| cache: 'pnpm' | |
| cache-dependency-path: frontend/pnpm-lock.yaml | |
| - name: Install frontend dependencies | |
| working-directory: frontend | |
| run: pnpm install --frozen-lockfile | |
| - name: Test | |
| working-directory: frontend | |
| run: pnpm test:unit |