Skip to content

Commit

Permalink
chore: type coverage (#109)
Browse files Browse the repository at this point in the history
* ci: add codechecks and typecov

* docs: update readme

* ci: run codechecks

* fix(ci): add missing env variable
  • Loading branch information
roikoren755 authored Mar 31, 2022
1 parent 3ab6e92 commit 86e7e87
Show file tree
Hide file tree
Showing 6 changed files with 2,376 additions and 21 deletions.
5 changes: 5 additions & 0 deletions .changeset/gold-dots-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'eslint-plugin-es-roikoren': patch
---

ci: add codechecks and typecov
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ jobs:
run: npm run lint
- name: Type
run: npm run type
- name: Codechecks
run: npm run codechecks
env:
CC_SECRET: ${{ secrets.CC_SECRET }}
- name: Build
run: npm run build

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Test Status](https://github.com/roikoren755/eslint-plugin-es/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/roikoren755/eslint-plugin-es/actions/workflows/ci.yml?query=branch%3Amain)
[![codecov](https://codecov.io/gh/roikoren755/eslint-plugin-es/branch/main/graph/badge.svg?token=RF5L5KQQN6)](https://codecov.io/gh/roikoren755/eslint-plugin-es)
[![type-coverage](https://img.shields.io/badge/dynamic/json.svg?label=type-coverage&prefix=%E2%89%A5&suffix=%&query=$.typeCoverage.atLeast&uri=https%3A%2F%2Fraw.githubusercontent.com%2Froikoren755%2Feslint-plugin-es%2Fmain%2Fpackage.json)](https://github.com/roikoren755/eslint-plugin-es)

[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=roikoren755_eslint-plugin-es&metric=bugs)](https://sonarcloud.io/dashboard?id=roikoren755_eslint-plugin-es)
[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=roikoren755_eslint-plugin-es&metric=code_smells)](https://sonarcloud.io/dashboard?id=roikoren755_eslint-plugin-es)
Expand Down
2 changes: 2 additions & 0 deletions codechecks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
checks:
- name: typecov
Loading

0 comments on commit 86e7e87

Please sign in to comment.