Skip to content

fix: test coverage report #85

fix: test coverage report

fix: test coverage report #85

Workflow file for this run

name: Build
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [20.x, 22.x, 24.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Check formatting
run: npm run format:check
- name: Lint
run: npm run lint
- name: Run tests
run: npm run test-lcov
- name: Upload coverage to Coveralls
if: matrix.node-version == '24.x'
uses: coverallsapp/github-action@v2
with:
file: coverage/lcov.info