Skip to content

add codecov

add codecov #20

Workflow file for this run

name: Pull Request Checks
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
lint-and-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '20'
- run: npm install
- run: npm run lint
- run: npm run build
- run: npm run test
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}