Skip to content

test: replace jsdom with happy-dom #25

test: replace jsdom with happy-dom

test: replace jsdom with happy-dom #25

Workflow file for this run

name: Coverage
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
name: Test Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Test coverage
run: pnpm run test:coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/