Skip to content

test cases updated ✔ #8

test cases updated ✔

test cases updated ✔ #8

Workflow file for this run

name: Run Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: "18"
- name: Install Dependencies
run: npm i
- name: Run Tests
run: npm run test:coverage
- name: Commit coverage badge
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add README.md
git commit -m "Update coverage badge" -a