Skip to content

chore: codecov added #1

chore: codecov added

chore: codecov added #1

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- main
- master
types:
- opened
- synchronize
permissions: read-all
jobs:
main-branch-tests:
name: Run Tests on Main Branch PR
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Check Current Working Directory
run: |
pwd
working-directory: .
- name: Set Node 20
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install Node.js Dependencies
run: npm i
working-directory: .
- name: Run Tests
run: npm test
working-directory: .
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true