Skip to content

chore: add ci script #8

chore: add ci script

chore: add ci script #8

Workflow file for this run

name: Report test coverage
on:
pull_request:
branches:
- "*"
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout ⚙️
uses: actions/checkout@v3
- name: Setup node 🔧
uses: actions/setup-node@v3
- name: Install dependencies 📦
run: npm ci
- name: Unit Testing 🔎
run: CI=true npm run test:ci
- uses: ArtiomTr/jest-coverage-report-action@v2
with:
test-script: npm run test:ci
coverage-file: report.json
annotations: none