Skip to content

Merge pull request #104 from JohnsonMao/style/update #78

Merge pull request #104 from JohnsonMao/style/update

Merge pull request #104 from JohnsonMao/style/update #78

Workflow file for this run

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