-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a4d7795
commit 7b9572e
Showing
1 changed file
with
7 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,20 +34,22 @@ jobs: | |
run: npm run typecheck | ||
|
||
# Run Link Checker using Lychee Action | ||
- name: Check for Broken Links | ||
- name: Check for Broken Links (Internal Only) | ||
uses: lycheeverse/[email protected] | ||
with: | ||
# Specify files to scan for links | ||
# Check only internal links | ||
args: > | ||
--accept 200,403 | ||
--no-progress | ||
'**/*.md' '**/*.mdx' '**/*.html' | ||
# Path to Lychee configuration file | ||
--exclude-mail | ||
--max-concurrency 20 | ||
--base . '**/*.md' '**/*.mdx' '**/*.html' | ||
# Exclude external links entirely | ||
exclude = ["https://", "http://"] | ||
config-file: .github/config/lychee.toml | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
# Report Failure on Broken Links | ||
- name: Report Failure on Broken Links | ||
if: failure() | ||
run: | | ||
|