diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f7e56d8..feff223 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,4 +28,10 @@ jobs: - run: npm ci - run: npm run build --if-present - run: npm run typecheck - - run: npm test \ No newline at end of file + - run: npm test + - name: Run coverage + run: npm run coverage + - name: Upload to Codecov + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file diff --git a/README.md b/README.md index 78f0278..2d14c2a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +[![version(scoped)](https://img.shields.io/npm/v/pukka.svg)](https://www.npmjs.com/package/pukka) +[![codecov](https://codecov.io/gh/ajaishankar/pukka/graph/badge.svg?token=2O9DD5SEUJ)](https://codecov.io/gh/ajaishankar/pukka) + # pukka! pukka is a Typescript schema-first, zod compatible, headless validation library.