diff --git a/README.md b/README.md index 8d7663a..97d05ad 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # deploy-pages 🚀 -[![Release](https://img.shields.io/github/v/release/actions/deploy-pages?label=Release&logo=github)](https://github.com/actions/deploy-pages/releases/latest) [![Linting](https://img.shields.io/github/actions/workflow/status/actions/deploy-pages/check-linter.yml?label=Linting&logo=github)](https://github.com/actions/deploy-pages/actions/workflows/check-linter.yml) [![Formatting](https://img.shields.io/github/actions/workflow/status/actions/deploy-pages/check-formatting.yml?label=Formatting&logo=github)](https://github.com/actions/deploy-pages/actions/workflows/check-formatting.yml) [![Tests](https://img.shields.io/github/actions/workflow/status/actions/deploy-pages/test.yml?label=Tests&logo=github)](https://github.com/actions/deploy-pages/actions/workflows/test.yml) [![coverage](./badges/coverage.svg)](./badges/coverage.svg) [![Distributables](https://img.shields.io/github/actions/workflow/status/actions/deploy-pages/check-dist.yml?label=Distributables&logo=github)](https://github.com/actions/deploy-pages/actions/workflows/check-dist.yml) [![CodeQL](https://img.shields.io/github/actions/workflow/status/actions/deploy-pages/codeql-analysis.yml?label=CodeQL&logo=github)](https://github.com/actions/deploy-pages/actions/workflows/codeql-analysis.yml) +[![Release](https://img.shields.io/github/v/release/actions/deploy-pages?label=Release&logo=github)](https://github.com/actions/deploy-pages/releases/latest) [![Linting](https://img.shields.io/github/actions/workflow/status/actions/deploy-pages/check-linter.yml?label=Linting&logo=github)](https://github.com/actions/deploy-pages/actions/workflows/check-linter.yml) [![Formatting](https://img.shields.io/github/actions/workflow/status/actions/deploy-pages/check-formatting.yml?label=Formatting&logo=github)](https://github.com/actions/deploy-pages/actions/workflows/check-formatting.yml) [![Tests](https://img.shields.io/github/actions/workflow/status/actions/deploy-pages/test.yml?label=Tests&logo=github)](https://github.com/actions/deploy-pages/actions/workflows/test.yml) ![Coverage](./coverage_badge.svg) [![Distributables](https://img.shields.io/github/actions/workflow/status/actions/deploy-pages/check-dist.yml?label=Distributables&logo=github)](https://github.com/actions/deploy-pages/actions/workflows/check-dist.yml) [![CodeQL](https://img.shields.io/github/actions/workflow/status/actions/deploy-pages/codeql-analysis.yml?label=CodeQL&logo=github)](https://github.com/actions/deploy-pages/actions/workflows/codeql-analysis.yml) This action is used to deploy [Actions artifacts][artifacts] to [GitHub Pages](https://pages.github.com/). diff --git a/badges/coverage.svg b/coverage_badge.svg similarity index 100% rename from badges/coverage.svg rename to coverage_badge.svg diff --git a/package.json b/package.json index d6f0775..fe4edd6 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "lint:check": "DEBUG=eslint:cli-engine eslint .", "prepare": "ncc build src/index.js -o dist --source-map --license licenses.txt", "test": "jest", - "coverage-badge": "make-coverage-badge --output-path ./badges/coverage.svg" + "coverage-badge": "make-coverage-badge --output-path ./coverage_badge.svg" }, "repository": { "type": "git", @@ -56,7 +56,8 @@ ], "coverageThreshold": { "global": { - "lines": 70 + "lines": 70, + "statements": 70 } } }