Add Unit tests & code coverage reporting #30
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow validates Pull Requests | |
name: PR Validation | |
# Trigger with every PR to master | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Code coverage summary report | |
uses: ArtiomTr/jest-coverage-report-action@v2 | |
- name: Run linting | |
run: npm run lint |