Skip to content

Merge pull request #32 from oliviacarlisle/oliviacarlisle-patch-1 #17

Merge pull request #32 from oliviacarlisle/oliviacarlisle-patch-1

Merge pull request #32 from oliviacarlisle/oliviacarlisle-patch-1 #17

Workflow file for this run

name: Run tests and upload coverage
on:
push:
branches: [main]
jobs:
test:
name: code coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install dependencies
run: npm install
- name: Run tests
run: npx jest --coverage
- name: Upload results to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}