diff --git a/.github/workflows/npm-publish.yaml b/.github/workflows/npm-publish.yaml index c257182..fdb8962 100644 --- a/.github/workflows/npm-publish.yaml +++ b/.github/workflows/npm-publish.yaml @@ -31,7 +31,9 @@ jobs: - name: Unit tests coverage run: yarn coverage:unit - - name: Upload coverage to Codecov + - name: Upload unit tests coverage to Codecov + # upload unit test code coverage only when merged in master + if: github.repository == 'clement-faure/mui-rhf' && (github.ref == 'refs/heads/master') uses: codecov/codecov-action@v1 with: flags: unittests # optional diff --git a/README.md b/README.md index ca84ad8..98d0fe8 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,7 @@