-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
80f5a5b
commit 96fe81e
Showing
5 changed files
with
233 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Run tests and upload coverage | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
coverage: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: pnpm 설치 | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
run_install: false | ||
- name: Node.js 환경 설정 | ||
uses: actions/setup-node@v4 | ||
with: | ||
cache: pnpm | ||
node-version-file: .nvmrc | ||
- name: 의존성 설치 | ||
run: pnpm install | ||
- name: 테스트 | ||
run: pnpm vitest --coverage | ||
- name: 코드커버리지 업로드 | ||
uses: codecov/codecov-action@v5 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,11 +18,13 @@ | |
"@storybook/test": "catalog:", | ||
"@tsconfig/strictest": "^2.0.5", | ||
"@types/node": "^22.8.1", | ||
"@vitest/coverage-v8": "2.1.4", | ||
"chromatic": "^11.19.0", | ||
"knip": "catalog:", | ||
"sanitize.css": "^13.0.0", | ||
"storybook": "catalog:", | ||
"typescript": "catalog:" | ||
"typescript": "catalog:", | ||
"vitest": "^2.1.8" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.