diff --git a/.github/workflows/build_prs_jest_report.yaml b/.github/workflows/build_prs_jest_report.yaml index 3f3857c267..1e4977fa35 100644 --- a/.github/workflows/build_prs_jest_report.yaml +++ b/.github/workflows/build_prs_jest_report.yaml @@ -33,16 +33,22 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'yarn' - name: Tests on ${{ matrix.node-version }} + id: coverage uses: ArtiomTr/jest-coverage-report-action@v2 with: annotations: none package-manager: yarn - github-token: ${{ secrets.GITHUB_TOKEN }} test-script: yarn run test:coverage:jest base-coverage-file: ./coverage/report.json + output: report-markdown env: CI: true TEST_DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres NODE_ENV: test PORT: 4243 + # - name: Report coverage on ${{ matrix.node-version }} + # uses: marocchino/sticky-pull-request-comment@v2 + # with: + # # pass output from the previous step by id. + # message: ${{ steps.coverage.outputs.report }}