Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: add coverage report #77

Merged
merged 2 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,8 @@ jobs:
- name: Install packages
run: npm ci

- name: Check compile error
run: npm run test:type

- name: Check lint error
run: npm run lint

- name: Run unit test
run: npm run test:unit
- name: Run test
run: npm run test:cov

- name: Check file changes
run: |
Expand All @@ -42,3 +36,8 @@ jobs:
git status --short
git diff
git diff --quiet

- name: Coveralls
uses: coverallsapp/github-action@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
.DS_Store
*.tsbuildinfo
coverage
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[![npm version](https://badge.fury.io/js/korean-business-day.svg)](http://badge.fury.io/js/korean-business-day)
[![npm version](https://badge.fury.io/js/korean-business-day.svg)](https://badge.fury.io/js/korean-business-day)
![test](https://github.com/croquiscom/korean-business-day/workflows/test/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/croquiscom/korean-business-day/badge.svg?branch=main)](https://coveralls.io/github/croquiscom/korean-business-day?branch=main)

korean-business-day는 영업일(한국 기준) 계산을 도와주는 모듈입니다.

Expand Down
Loading
Loading