Github-Actions, how to run an html and then run a JS check to its output
22:01 01 Jun 2026

The girl’s family had done

That girl’s finally done

Given the example html above, I wanted to set a github action that checks the validity of PRs of all html files in the repo in the following way:

  1. Run the html

  2. Use the that html output and verify if one regex is true with javascript: const mattch = html.match(/

    (?!✔️)/); --- if the match is True, give the ✖️ in the pr check

  3. repeat for all html files in the repo

Not sure how to achieve the "run the html and run a javascript check on its output" with github actions...

Thanks!!

html github-actions