build: run link checker in linter workflow
Run the checkLinks.js
tool on our actions workflow.
Change format of logged messages when run on GitHub Actions (i.e.
when the GITHUB_ACTIONS
environment variable is true) so that
broken links are highlighted inline in pull requests.
Refs: https://github.com/nodejs/node/issues/34787
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines