feat: add markdown link checker to validate links #223
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.
This adds a GitHub actions workflow which runs remark validate links which will check links in Markdown files in order to see if any are returning 404s. The logs will be available in each PR and Netlify as well.
I implemented the broken anchor links detection for both
npm start
andnpm run build
. So, even if we build this project locally, we'll get warnings there.These are the key changes:
Edit:
This is the log we'll get on each PR: https://github.com/oras-project/oras-www/actions/runs/5541071028/jobs/10113990367?pr=223#step:5:1
Closes: #220