Skip to content

Modify the evidence file stream behavior to stop reading when being terminated by the client #1754

Modify the evidence file stream behavior to stop reading when being terminated by the client

Modify the evidence file stream behavior to stop reading when being terminated by the client #1754

name: Frontend code coverage
on:
pull_request:
branches: ["main"]
paths:
- "frontend/**"
env:
GITHUB_WORKFLOW: github_actions
jobs:
build:
runs-on: ubuntu-latest
env:
working-directory: ./frontend
strategy:
max-parallel: 4
matrix:
node-version: ["20"]
steps:
- uses: actions/checkout@v3
- name: Set up node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install latest pnpm
working-directory: ${{env.working-directory}}
run: |
npm install -g pnpm &&
pnpm --version &&
pnpm list -g --depth 0
- name: Install dependencies
working-directory: ${{env.working-directory}}
run: pnpm i --frozen-lockfile
- name: Run coverage
working-directory: ${{env.working-directory}}
run: pnpm run coverage