Create links src directory (#41733)
This commit is contained in:
4
.github/workflows/link-check-daily.yml
vendored
4
.github/workflows/link-check-daily.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/link-check-on-pr.yml
vendored
2
.github/workflows/link-check-on-pr.yml
vendored
@@ -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
|
||||
|
||||
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user