Git Product home page Git Product logo

coverage-badges-action's People

Contributors

jpb06 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

coverage-badges-action's Issues

Pull request coverage summary

#5 (comment)

Hi, I'm interested to know if there are any plans to add a feature that allows us to see the change in coverage, comparing coverage in a PR to coverage in the base branch

Action failing in pipeline in version 1.0.8

Hello and thanks for your awesome work on this github action :)!

We are using your action in our pipelines to create coverage badges.

However, the version released yesterday (v1.0.8) does not work in our pipelines.

Running the action produces the following error:

Run jpb06/coverage-badges-action@latest
node:internal/modules/cjs/loader:1051
  throw err;
  ^

Error: Cannot find module '../node_modules/effect-errors/cjs/index.js'
Require stack:
- /home/runner/work/_actions/jpb06/coverage-badges-action/latest/dist/index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15)
    at Module._load (node:internal/modules/cjs/loader:901:27)
    at Module.require (node:internal/modules/cjs/loader:1115:19)
    at require (node:internal/modules/helpers:130:18)
    at /home/runner/work/_actions/jpb06/coverage-badges-action/latest/dist/index.js:1:13693
    at /home/runner/work/_actions/jpb06/coverage-badges-action/latest/dist/index.js:1:35
    at Object.<anonymous> (/home/runner/work/_actions/jpb06/coverage-badges-action/latest/dist/index.js:1:13948)
    at Module._compile (node:internal/modules/cjs/loader:1241:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
    at Module.load (node:internal/modules/cjs/loader:1091:32) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/runner/work/_actions/jpb06/coverage-badges-action/latest/dist/index.js'
  ]
}

Node.js v20.8.1

This is how we integrate the action in our pipeline (shortened):

  code-coverage:'
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: '18.18'
      - run: yarn install --frozen-lockfile

      - run: yarn test:coverage

      - name: Generating coverage badges
        uses: jpb06/[email protected]
        with:
          coverage-summary-path: ./coverage/coverage-summary.json
          branches: main
          commit-message: 'chore: update badges for code coverage'

Version 1.0.7 was working fine. Could this also be an issue on our side? Do you need any further information.

Thanks a lot!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.