Skip to content

Fix Codecov test coverage #2856

Fix Codecov test coverage

Fix Codecov test coverage #2856

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
test:
name: Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
node-version:
- 20
- 18
os:
- ubuntu
- macos
- windows
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: '${{ matrix.os }}, node-${{ matrix.node-version }}'
fail_ci_if_error: false
verbose: true