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

Create links src directory (#41733)

This commit is contained in:
Kevin Heis
2023-08-31 10:29:20 -07:00
committed by GitHub
parent 5b01cc94f3
commit 0ef156d84e
12 changed files with 63 additions and 38 deletions

View File

@@ -52,7 +52,7 @@ jobs:
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: external-link-checker-db.json
key: external-link-checker-${{ hashFiles('.github/actions/rendered-content-link-checker.js') }}
key: external-link-checker-${{ hashFiles('src/links/scripts/rendered-content-link-checker.js') }}
- name: Run link checker
env:
@@ -76,7 +76,7 @@ jobs:
# treat it as a warning and not as a broken link.
EXTERNAL_SERVER_ERRORS_AS_WARNINGS: true
timeout-minutes: 30
run: node .github/actions-scripts/rendered-content-link-checker.js
run: node src/links/scripts/rendered-content-link-checker.js
- name: Upload artifact(s)
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8

View File

@@ -49,7 +49,7 @@ jobs:
# we're filtering on anyway once the list of all pages has
# been loaded.
ENABLED_LANGUAGES: en
run: node .github/actions-scripts/rendered-content-link-checker.js
run: node src/links/scripts/rendered-content-link-checker.js
- name: Upload artifact(s)
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8

View File

@@ -109,11 +109,11 @@ jobs:
run: |
# If either of these fail, it means our fixture content's internal
# links can and should be updated.
./script/update-internal-links.js --dry-run --check --strict \
./src/links/scripts/update-internal-links.js --dry-run --check --strict \
tests/fixtures/content \
--exclude tests/fixtures/content/get-started/foo/typo-autotitling.md \
--exclude tests/fixtures/content/get-started/foo/anchor-autotitling.md
./script/update-internal-links.js --dry-run --check --strict \
./src/links/scripts/update-internal-links.js --dry-run --check --strict \
tests/fixtures/data
- name: Clone all translations