Skip to content

Init Unit Test

Init Unit Test #5

Workflow file for this run

name: 'coverage'
on:
pull_request:
branches:
- main
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Generate Report
uses: ArtiomTr/jest-coverage-report-action@v2
with:
github-token: ${{ secrets.SECRET_TOKEN }}
test-script: npm run test:coverage
threshold: 80
output: comment, report-markdown