Skip to content

Commit ed9dce8

Browse files
authored
Modify Linkinator command in workflow
Updated Linkinator command to check local files instead of serving site. Signed-off-by: Varad Gupta <114755221+vr-varad@users.noreply.github.com>
1 parent 8cabd0d commit ed9dce8

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/broken-link-checker.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,9 @@ jobs:
2020
node -v
2121
npm run version
2222
npm run noIndex
23-
24-
- name: Serve site
25-
run: npx serve ./public -l 5000 &
2623
2724
- name: Run Linkinator
28-
run: npx linkinator http://localhost:5000 --retry --concurrency 5 || true
25+
run: npx linkinator ./public --recurse --skip '404.html' --retry --concurrency 5 --timeout 30000 || true
2926

3027
- name: Finish
3128
run: echo "Link check completed"

0 commit comments

Comments
 (0)