Skip to content

Improve test coverage, add linting to CI #30

Improve test coverage, add linting to CI

Improve test coverage, add linting to CI #30

Workflow file for this run

name: Jest
on:
push:
branches: ['main']
pull_request:
branches: ['main']
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository ⬇️
uses: actions/checkout@v4
- name: Setup Node.js 20 ⚙️
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
- name: Install dependencies 📦
run: npm ci
- name: Run tests 🧪
run: npm test
- name: Upload coverage report to Codecov 📊
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}