Skip to content

fix(codecov): use 'test:cov' instead of 'test' in codecov workflow #3

fix(codecov): use 'test:cov' instead of 'test' in codecov workflow

fix(codecov): use 'test:cov' instead of 'test' in codecov workflow #3

Workflow file for this run

name: Codecov report
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Node 18
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Run tests and collect coverage
run: npm run test:cov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}