Skip to content

GitHub action for aggregating LCOV results in Lerna monorepo

Notifications You must be signed in to change notification settings

Mintbase/lerna-lcov-aggregate-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LCOV code coverage aggregator for Lerna monorepos GitHub action

GitHub action which executes lerna-lcov-aggregate.

Usage example

This example runs npm run test:coverage at the root of Lerna monorepo, then aggregates LCOV results from all packages into single file and finally pushes the result into Coveralls.

on: ["push", "pull_request"]

name: Test

jobs:

  build:
    name: Build
    runs-on: ubuntu-latest
    steps:

    - uses: actions/checkout@v1

    - name: Use Node.js 20.0
      uses: actions/setup-node@v1
      with:
        node-version: 20.0

    - name: npm install, npm run test:coverage
      run: |
        npm install
        npm run test:coverage

    - name: Aggregate LCOV results
      uses: RauliL/lerna-lcov-aggregate-action@master

    - name: Coveralls
      uses: coverallsapp/github-action@master
      with:
        github-token: ${{ secrets.GITHUB_TOKEN }}

About

GitHub action for aggregating LCOV results in Lerna monorepo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%