-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add external URL health checks in CI/CD
This commit adds automated checks for dead external URLs in the documentation during CI/CD pipeline. It configures `remark-lint-no-dead-urls` plugin with custom ignore patterns to handle false positives. This commit adds URL aliveness checks in CI/CD that was previously missing, adding ignore rules for false negatives. Changes: - Add missing external URL checking in GitHub workflow. - Add ignore patterns for false negatives.
- Loading branch information
1 parent
e8af173
commit 76e3fdd
Showing
4 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import remarkNoDeadUrls from 'remark-lint-no-dead-urls'; | ||
|
||
/** @type {Omit<import('unified-engine').Options, 'processor'>} */ | ||
export default { | ||
plugins: [ | ||
remarkNoDeadUrls, | ||
{ | ||
skipUrlPatterns: [ | ||
// These return 403 (Forbidden) to checks | ||
'https://codepen.io', | ||
], | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters