From d5d535cd2ef696b9b0b05a86cf8cb3020a630f12 Mon Sep 17 00:00:00 2001 From: Samhir Tarif <89391183+samhirtarif@users.noreply.github.com> Date: Wed, 19 Jul 2023 01:07:53 -0700 Subject: [PATCH] Add badges to readme (#12) --- .../{unit-test copy.yml => unit-tests.yml} | 0 README.md | 14 ++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) rename .github/workflows/{unit-test copy.yml => unit-tests.yml} (100%) diff --git a/.github/workflows/unit-test copy.yml b/.github/workflows/unit-tests.yml similarity index 100% rename from .github/workflows/unit-test copy.yml rename to .github/workflows/unit-tests.yml diff --git a/README.md b/README.md index ba3fe81..619f61d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,20 @@ # **react-audio-player-component** A mobile-friendly audio player for React with a modern look and convenient usage. +[![NPM downloads][npm-download-img]][npm-download-url] +[![Run ESlint][eslint-img]][eslint-url] +[![Run Unit tests][test-img]][test-url] +[![Run Unit tests][browser-test-img]][browser-test-url] + +[npm-download-img]: https://img.shields.io/npm/dm/react-audio-player-component.svg?style=round-square +[npm-download-url]: https://www.npmjs.com/package/react-audio-player-component +[eslint-img]: https://github.com/samhirtarif/react-audio-player/actions/workflows/lint.yml/badge.svg +[eslint-url]: https://github.com/samhirtarif/react-audio-player/actions/workflows/lint.yml +[test-img]: https://github.com/samhirtarif/react-audio-player/actions/workflows/unit-tests.yml/badge.svg +[test-url]: https://github.com/samhirtarif/react-audio-player/actions/workflows/unit-tests.yml +[browser-test-img]: https://github.com/samhirtarif/react-audio-player/actions/workflows/browser-tests.yml/badge.svg +[browser-test-url]: https://github.com/samhirtarif/react-audio-player/actions/workflows/browser-tests.yml + ## Installation ```sh npm install react-audio-player-component diff --git a/package-lock.json b/package-lock.json index 77d2093..a7fb5a0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "react-audio-player-component", - "version": "1.2.2", + "version": "1.2.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "react-audio-player-component", - "version": "1.2.2", + "version": "1.2.4", "license": "MIT", "dependencies": { "react-audio-visualize": "^1.1.3" diff --git a/package.json b/package.json index 7977390..663dd77 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-audio-player-component", "private": false, - "version": "1.2.2", + "version": "1.2.4", "license": "MIT", "author": "Samhir Tarif", "repository": {