1
0
mirror of synced 2025-12-30 03:01:36 -05:00

speed up link checker on PR (#32992)

This commit is contained in:
Peter Bengtsson
2022-11-28 23:10:22 +01:00
committed by GitHub
parent 52e4019890
commit 9c47ca166e
4 changed files with 40 additions and 14 deletions

View File

@@ -62,6 +62,7 @@ jobs:
- name: Run link checker
env:
DISABLE_REWRITE_ASSET_URLS: true
LEVEL: 'critical'
# Set this to true in repo scope to enable debug logs
# ACTIONS_RUNNER_DEBUG = true

View File

@@ -96,6 +96,11 @@ jobs:
SHOULD_COMMENT: ${{ secrets.DOCS_BOT_FR != '' }}
CHECK_EXTERNAL_LINKS: false
CREATE_REPORT: false
# Not strictly necessary bit it makes warmServer() a bit faster
# because it only bothers with English to begin with, which
# we're filtering on anyway once the list of all pages has
# been loaded.
ENABLED_LANGUAGES: en
run: node .github/actions/rendered-content-link-checker.js
- name: Upload artifact(s)