Skip to content

test: add coverage reporting #7

test: add coverage reporting

test: add coverage reporting #7

Workflow file for this run

name: Build
on:
push:
branches-ignore:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
- uses: actions/setup-node@v4
name: Install Node.js
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test:coverage
- name: Code Coverage
uses: irongut/CodeCoverageSummary@v1.3.0
with:
filename: coverage/cobertura-coverage.xml
badge: true
- name: Build
run: pnpm build