✨ add useIsMounted hook and remove unused function #117
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: Test Coverage | |
env: | |
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | |
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🛎️ Checkout | |
uses: actions/checkout@v3 | |
- name: ⚙️ Setup PNPM | |
uses: pnpm/action-setup@v2.2.1 | |
with: | |
version: 8 | |
- name: 🔧 Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: 🧪 Test Coverage | |
run: pnpm test:coverage | |
- name: 📈 Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: true |