diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 40dad44..fbb75bb 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -29,3 +29,21 @@ jobs: run: npm run build - name: Testing run: npm test + coverage: + name: Coverage Report in Node v18 + runs-on: ubuntu-latest + permissions: + checks: write + pull-requests: write + steps: + - name: Checking out + uses: actions/checkout@v3 + - name: Setup Node v18 + uses: actions/setup-node@v3 + with: + node-version: 18 + - name: Coverage + uses: ArtiomTr/jest-coverage-report-action@v2 + with: + test-script: npm test + annotations: failed-tests