feat(avatar): avatar 컴포넌트 구현 #71
Workflow file for this run
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
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: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
run_install: false | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4 | |
with: | |
cache: pnpm | |
node-version-file: .nvmrc | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run tests | |
run: pnpm run test --coverage | |
- name: Upload code coverage | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |