Skip to content

Commit

Permalink
Update lighthouse-accessibility-check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ndkhanh-axonivy committed Jan 13, 2025
1 parent 103d48d commit f431f78
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/lighthouse-accessibility-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Lighthouse Accessibility CI

on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'

env:
API_URL: "https://market.axonivy.com/marketplace-service/api/product?type=all&language=en&isRESTClient=false"
Expand All @@ -18,9 +20,8 @@ jobs:
id: collect-urls
run: |
PAGE=0
EXTERNAL_URLS="${BASE_URL},${BASE_URL}/security-monitor,${BASE_URL}/release-preview"
URLS_BATCHES="[]"
URLS_BATCHES=$(echo "$URLS_BATCHES" | jq --arg external_urls "\"$EXTERNAL_URLS\"" '. + [$external_urls]')
URLS_BATCHES=$(echo "$URLS_BATCHES" | jq --arg external_urls "\"$BASE_URL,${{ vars.ACCESSIBILITY_CHECK_EXTERNAL_URLS }}\"" '. + [$external_urls]')
while true; do
RESPONSE=$(curl -s "$API_URL&size=$BATCH_SIZE&page=$PAGE&sort=alphabetically")
Expand Down

0 comments on commit f431f78

Please sign in to comment.