Skip to content

feat: add GitHub Actions workflow for test coverage #1

feat: add GitHub Actions workflow for test coverage

feat: add GitHub Actions workflow for test coverage #1

Workflow file for this run

name: Test Coverage
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Run tests with coverage
run: npm run test:coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3