Skip to content

Releases: MishaKav/jest-coverage-comment

v1.0.26

30 Apr 08:38
434e6d2
Compare
Choose a tag to compare

What's Changed

  • Handle case when testsuites is not the root element of the JUnit xml file, thanks to @JakeFDev for contribution in #86

Full Changelog: v1.0.25...v1.0.26

Change `node16` to `node20`

30 Jan 08:27
c2d5cfd
Compare
Choose a tag to compare

Change node16 to node20, thanks to @kagankan for contribution

v1.0.24

23 Nov 13:16
f2e8b56
Compare
Choose a tag to compare
  • Take the right serverUrl in non github.com environments like selfhosted github, e.g. link to lines uses then the correct link, thanks to @c0un7-z3r0 for contribution

Remove summary error in annotations

13 Mar 21:54
41b5ca0
Compare
Choose a tag to compare
  • Remove summary error in annotations when provide one of junitxml-path / coverage-path / multiple-files / multiple-junitxml-files and not provide coverage-summary-path which have default value
  • bump dev dependencies

support `pull_request_target` event to add comments

07 Jan 15:24
c0e038b
Compare
Choose a tag to compare
  • Support pull_request_target event to add comments, thanks to @chirag-madlani for contribution

Support matrix with individual comments

02 Dec 21:28
131d9dc
Compare
Choose a tag to compare

What's Changed

Support matrix with individual comments. When you run in a matrix, and you want that every job will post a comment, you can use the unique-id-for-comment: ${{ matrix.node-version }}. This will post a comment for every job, and will update them on every run by @MishaKav in #50

New Contributors

Full Changelog: v1.0.20...v1.0.21

Internal improvements, fix typos and enhance formatting

30 Oct 22:24
54036cd
Compare
Choose a tag to compare
  • Huge thanks to @paescuj for contribution. Many internal things such:
    • Consistent usage of terms and letter casing
    • Fix typos and enhance formatting in README.md
    • Use single quotes whenever possible
    • Use JSDoc to describe the functions, so the descriptions are displayed in IDE

Fix failing the action when the event type is not supporte

20 Oct 17:11
d6ed1d3
Compare
Choose a tag to compare
  • Fix failing the action when the event type is not pull_request/push. Now it will just post warning message if you try to comment (and not fail the whole action). If you just using an output of the action you will be able to run this action on events like schedule/workflow_dispatch etc
  • Add full CHANGELOG.md (current file with all history). Those whos use dependabot now will be able to see the changes directly in the PR

Support multiple junitxml files

15 Oct 16:38
d6b4f5e
Compare
Choose a tag to compare
- name: Jest coverage comment
  uses: MishaKav/jest-coverage-comment@main
  with:
    multiple-junitxml-files: |
      My-Title-1, ./coverage_1/junit.xml
      My-Title-2, ./coverage_2/junit.xml

image

Fix errors for old junit format

15 Oct 12:21
ebc4ddf
Compare
Choose a tag to compare

old versions like 10 of jest-junit do not provide a summary for the errors field.
calculate it manually.