diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index 8d98fbb..a201ce9 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -18,6 +18,11 @@ jobs: package-name: react-hooks-paginator default-branch: main changelog-path: CHANGELOG.md + + test: + uses: ./.github/workflows/test.yaml + needs: create-release + if: ${{ !needs.create-release.outputs.release_created }} deploy: uses: ./.github/workflows/publish.yaml diff --git a/README.md b/README.md index c17d0b2..b558893 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # React Hooks Paginator -![Build](https://github.com/github/docs/actions/workflows/test.yml/badge.svg?branch=main) +![Build](https://github.com/codenaz/react-paginator/actions/workflows/create-release.yaml/badge.svg?branch=main) A library for adding simple paginator functionality to your react app.