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/CHANGELOG.md b/CHANGELOG.md index d3bc5ef..fb44d1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +#### [v0.0.10](https://github.com/clement-faure/mui-rhf/compare/v0.0.9...v0.0.10) + +> 11 April 2021 + +- Release/0.0.9 [`#15`](https://github.com/clement-faure/mui-rhf/pull/15) +- Bump version [`2cd4a57`](https://github.com/clement-faure/mui-rhf/commit/2cd4a574ddc612b2bcf2db3317d6dc5d2884ecf6) +- Update workflow and README.md [`b70b418`](https://github.com/clement-faure/mui-rhf/commit/b70b418d6050090c3afdd5eb003154bc0d3b1b18) +- Add test unit coverage to README.md [`27af786`](https://github.com/clement-faure/mui-rhf/commit/27af786ad9ec801ceb232429528045ff7ab2a0b0) + #### [v0.0.9](https://github.com/clement-faure/mui-rhf/compare/v0.0.8...v0.0.9) > 11 April 2021 diff --git a/README.md b/README.md index da94e8f..98d0fe8 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/clement-faure/mui-rhf/npm-publish)](https://github.com/clement-faure/mui-rhf/actions/workflows/npm-publish.yaml) -![Codecov Coverage](https://img.shields.io/codecov/c/github/clement-faure/mui-rhf/master.svg) +[![codecov](https://img.shields.io/codecov/c/github/clement-faure/mui-rhf/master.svg)](https://codecov.io/gh/clement-faure/mui-rhf/branch/master) Quickly build powerful forms using [Material UI](https://material-ui.com/) and [React Hook Form](https://react-hook-form.com/) diff --git a/package.json b/package.json index 95b5894..616ed15 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mui-rhf", - "version": "0.0.9", + "version": "0.0.10", "description": "Form generator based on Material UI and React Hook Form", "main": "dist/index.js", "types": "dist/index.d.ts",