Skip to content

Commit

Permalink
fix: update additional broken link check calls
Browse files Browse the repository at this point in the history
Fixes: #488
  • Loading branch information
mcdurdin committed Oct 31, 2024
1 parent db019b7 commit 2acba73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI

on:
on:
[pull_request]
jobs:

Expand Down Expand Up @@ -34,7 +34,7 @@ jobs:
run: |
set +e;
set +o pipefail;
npx broken-link-checker http://localhost:8053/_test --ordered --recursive --host-requests 50 -e --filter-level 3 | \
npx broken-link-checker http://localhost:8053/_test --ordered --recursive --host-requests 50 -e --filter-level 3 --exclude '*/donate' | \
grep -E "BROKEN|Getting links from" | \
grep -B 1 "BROKEN"
exit ${PIPESTATUS[0]}
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"test": "vendor\\bin\\phpunit --testdox",
"check-links": [
"Composer\\Config::disableProcessTimeout",
"npx broken-link-checker http://keyman.com.localhost --ordered --recursive --host-requests 10 -e --filter-level 3"
"npx broken-link-checker http://keyman.com.localhost --ordered --recursive --host-requests 10 -e --filter-level 3 --exclude '*/donate'"
],
"check-docker-links": [
"Composer\\Config::disableProcessTimeout",
"npx broken-link-checker http://localhost:8053 --ordered --recursive --host-requests 10 -e --filter-level 3"
],
"npx broken-link-checker http://localhost:8053 --ordered --recursive --host-requests 10 -e --filter-level 3 --exclude '*/donate'"
],
"lint": "find . -name '*.php' | grep -v '/vendor/' | xargs -n 1 -d '\\n' php -l"
}
}

0 comments on commit 2acba73

Please sign in to comment.