Skip to content

Merge pull request #37 from oliviacarlisle/dev #22

Merge pull request #37 from oliviacarlisle/dev

Merge pull request #37 from oliviacarlisle/dev #22

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 22.x
uses: actions/setup-node@v4
with:
node-version: 22.x
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test:coverage
- name: Upload results to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}