feat(ado-gha-axe-core): Add Job Summary to GH Action #1204
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Details
This PR adds the new Job Summary functionality to the Github Action
Here is a link to a test action run that uses the job summary, you can find it under "build summary" at the bottom of the summary tab:
https://github.com/brocktaylor7/accessibility-insights-action-test/actions/runs/2471620857
Motivation
Feature work.
Context
I spent some time looking into whether we could directly link the artifact within the job summary. Because the artifact upload happens in a subsequent step in the Github Action, the artifact doesn't yet exist when the job summary is being created and thus can't be linked.
There will be a separate PR that removes the check run and token. We may also need to look into whether we need to fail the build in that step when accessibility issues are found, as I believe the current place that the build fails is within the check run step.
This PR has no impact on the ADO Extension.
Pull request checklist
yarn test
)<rootDir>/test-results/unit/coverage
yarn precheckin
)