From 6b5c46e117e79b14f96e6f1de30449fe2e4c80a5 Mon Sep 17 00:00:00 2001 From: hetunandu Date: Sun, 21 Mar 2021 11:34:08 +0530 Subject: [PATCH] Only do jest coverage when it is a pull request --- .github/workflows/client-build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/client-build.yml b/.github/workflows/client-build.yml index 521d03e48d..53c6e223c1 100644 --- a/.github/workflows/client-build.yml +++ b/.github/workflows/client-build.yml @@ -93,6 +93,7 @@ jobs: echo ::set-output name=version::$next_version-SNAPSHOT - name: Run the jest tests + if: github.event_name == 'pull_request' uses: anuraag016/Jest-Coverage-Diff@V1.1 with: fullCoverageDiff: false