Skip to content

Testcase: Member details repo card #27

Testcase: Member details repo card

Testcase: Member details repo card #27

Workflow file for this run

# .github/workflows/jest-coverage.yml
name: Jest Coverage Report
on:
push:
branches:
- feat/unit-testing
pull_request:
branches:
- feat/unit-testing
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Run tests with coverage
run: npm test -- --coverage
- name: Upload coverage report
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: coverage