DEV Community

Discussion on: Checking a Web Page for Dead Links (A Golang Command-Line Tutorial)

Collapse
 
nikoheikkila profile image
Niko Heikkilä

Yes. I build my static blog with Gatsby, which has a sitemap plugin. During a CI pipeline, I iterate over each link in the sitemap and check the pages for accessibility issues using the great pa11y tool. It would be quite trivial to check for broken links as well.

With Github Actions, I presume it would be feasible to make a tool for this and distribute it as a custom action in their marketplace.