diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cd4ad3dcc..3dbd13607 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,4 +37,9 @@ jobs: run: npm ci - name: Run tests + if: github.event_name != 'pull_request' run: npm test + + - name: Run tests with coverage + if: github.event_name == 'pull_request' + run: npm run test:coverage