Fix an issue where LLM responses are not streamed or rendered properl… #5306
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: Run Javascript tests | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| workflow_dispatch: | |
| concurrency: | |
| group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
| cancel-in-progress: true | |
| jobs: | |
| run-javascript-tests: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [macos-latest, ubuntu-22.04, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.x' | |
| - uses: actions/checkout@v4 | |
| - name: Upgrade yarn | |
| run: | | |
| yarn set version berry | |
| yarn set version 4 | |
| - name: Install Node modules | |
| run: | | |
| cd web | |
| yarn install | |
| - name: Run the tests | |
| run: | | |
| cd web | |
| yarn run test:js-once |