Skip to content

Conversation

@mcquenji
Copy link

@mcquenji mcquenji commented Jun 9, 2025

This pull request introduces a new output field called summary to the GitHub Action configuration and updates the code to set this output with the generated summary.

Additions to GitHub Action outputs:

  • action.yml: Added a new output field summary with a description "The raw generated summary".

Updates to set the new output:

  • src/main.ts: Updated the TestReporter class to set the summary output using the generated summary value.

Closes #313

Important

This is my first time working on an Action's codebase, sorry in advance for any mistakes 😅

core.info(`Check run HTML: ${resp.data.html_url}`)
core.setOutput('url', resp.data.url)
core.setOutput('url_html', resp.data.html_url)
core.setOutput('summary', summary)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this line is in the wrong place. I've tried forking this and running some workflows against this action, and I don't see the summary in the action's output with this change.

However, putting this line after line 189 works, right after the summary is logged as info. When running the action, I see the summary in the output properties.

@R-Raposo
Copy link

I think you are supposed to locally run "npm run build" and then "npm run package", so that the typescript changes are transpiled into the dist folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

is there a way to add the report as a comment to a pr?

2 participants