diff --git a/.github/workflows/ci-frontend.yml b/.github/workflows/ci-frontend.yml index a92dce74f..a1e299d8c 100644 --- a/.github/workflows/ci-frontend.yml +++ b/.github/workflows/ci-frontend.yml @@ -46,8 +46,17 @@ jobs: - name: Run format run: npm run format-check - - name: Run tests - run: npm run test + - run: npm run test -- --testLocationInResults --json --outputFile=coverage/report.json + - uses: ArtiomTr/jest-coverage-report-action@v2 + with: + coverage-file: coverage/report.json + test-script: npm test + working-directory: ./frontend + annotations: failed-tests + package-manager: npm + icons: emoji + skip-step: none + output: comment - name: Run e2e tests run: npm run test:e2e