Skip to content

Update coverage.yml

Update coverage.yml #2

Workflow file for this run

name: Coverage
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install dependencies
run: pnpm install
- name: Run tests with coverage
run: pnpm coverage
- name: Generate Coverage Badge
uses: jpb06/jest-badges-action@latest
with:
branches: main
coverage-summary-path: coverage/coverage-summary.json