Skip to content

Yas frontend Refactor #7

Yas frontend Refactor

Yas frontend Refactor #7

Workflow file for this run

name: Test
on:
workflow_call:
pull_request:
jobs:
unit-test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: πŸ›’ Checkout repo
uses: actions/checkout@v3
- name: πŸ“¦ Install dependencies
run: npm ci
- name: πŸ” Run tests with coverage
run: npm run test:coverage
- name: πŸ’¬ Comment coverage results
uses: MishaKav/jest-coverage-comment@main
with:
coverage-summary-path: ./coverage/coverage-final.json
title: Coverage Report
- name: πŸ“‚ Upload unit test report
uses: actions/upload-artifact@v3
if: always()
with:
name: unit-test-report
path: reports/tests/unit