Skip to content

Toggle Primitive, Toggle, ToggleGroup Refactor #372

Toggle Primitive, Toggle, ToggleGroup Refactor

Toggle Primitive, Toggle, ToggleGroup Refactor #372

Workflow file for this run

name: Run Jest Tests
on:
push:
branches:
- main
paths:
- 'src/**/*'
pull_request:
branches:
- main
paths:
- 'src/**/*'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 14
- name: Install dependencies
run: npm install
- name: Run Jest tests
run: npm run coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}