Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to display the html content as a comment or as job action in a PR? #319

Open
ranouf opened this issue Jan 11, 2025 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@ranouf
Copy link

ranouf commented Jan 11, 2025

Here is the action i use :

  - name: HTML Preview
    id: html_preview
    uses: pavi2410/html-preview-action@v4
    with:
      html_file: ./src/db/jest_html_reporters.html
      job_summary: true

In the details of the action I can see:

sk-jestandts@1.0.0 test
jest
PASS tests/api.test.ts
✓ Fetch users from local Supabase instance (39 ms)
📦 report is created on: /home/runner/work/X/Y/src/db/jest_html_reporters.html
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: 1.977 s
Ran all test suites.
0s
Run pavi2410/html-preview-action@v4
with:
html_file: ./src/db/jest_html_reporters.html
job_summary: true
env:
SUPABASE_INTERNAL_IMAGE_REGISTRY: ghcr.io

Is there an option for that? What do you suggest?

@ranouf ranouf added the enhancement New feature or request label Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants