Skip to content

chore: codecov added #2

chore: codecov added

chore: codecov added #2

Workflow file for this run

name: Tests & Code Coverage
on:
push:
branches:
- master
- main
- "release/*"
pull_request:
branches:
- main
- master
types:
- opened
- synchronize
permissions: read-all
jobs:
upload-code-coverage:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Set Node 20
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install Node.js Dependencies
run: npm i
- name: Run Tests
run: npm test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true