diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index c05edb1168..312ce9efa3 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -12,6 +12,11 @@ concurrency: jobs: test: + permissions: + checks: write + pull-requests: read + statuses: write + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -19,10 +24,6 @@ jobs: - uses: ./.github/workflows/yarn - name: Annotations and coverage report - uses: ArtiomTr/jest-coverage-report-action@v2 - with: - skip-step: install - annotations: failed-tests - package-manager: yarn - test-script: yarn test:ci - github-token: ${{ secrets.GITHUB_TOKEN }} + uses: mattallty/jest-github-action@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}