diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0a247e4..93b7c0a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,3 +29,6 @@ jobs: - name: ▶️ Run test script run: npm run test + + - name: ⬆️ Upload coverage report + uses: codecov/codecov-action@v1 diff --git a/README.md b/README.md index a415f7e..4c701a4 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,20 @@ webpack memory compile ---------------------- +[![build status][build-badge]][build] +[![code coverage][coverage-badge]][coverage] +[![npm version][version-badge]][package] +[![apache license][license-badge]][license] + +[build-badge]: https://img.shields.io/github/workflow/status/krakenjs/webpack-mem-compile/build?logo=github&style=flat-square +[build]: https://github.com/krakenjs/webpack-mem-compile/actions?query=workflow%3Abuild +[coverage-badge]: https://img.shields.io/codecov/c/github/krakenjs/webpack-mem-compile.svg?style=flat-square +[coverage]: https://codecov.io/github/krakenjs/webpack-mem-compile/ +[version-badge]: https://img.shields.io/npm/v/@krakenjs/webpack-mem-compile.svg?style=flat-square +[package]: https://www.npmjs.com/package/@krakenjs/webpack-mem-compile +[license-badge]: https://img.shields.io/npm/l/@krakenjs/webpack-mem-compile.svg?style=flat-square +[license]: https://github.com/krakenjs/webpack-mem-compile/blob/main/LICENSE + Compile from a webpack config to a string in memory. ## Install