1
0
mirror of synced 2026-01-06 06:02:35 -05:00

end-to-end test link rewriting plugin (#34939)

This commit is contained in:
Peter Bengtsson
2023-02-22 13:19:04 -05:00
committed by GitHub
parent 8c04f7aa19
commit 2fa45f9acf
7 changed files with 118 additions and 154 deletions

View File

@@ -115,6 +115,20 @@ jobs:
if: ${{ matrix.test-group == 'rendering-fixtures' }}
run: ./script/copy-fixture-data.js --check
# This keeps our fixture content/data in check
- name: Check the test fixture content (if applicable)
if: ${{ matrix.test-group == 'rendering-fixtures' }}
env:
ROOT: tests/fixtures
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 --verbose \
tests/fixtures/content \
--exclude tests/fixtures/content/get-started/foo/typo-autotitling.md
./script/update-internal-links.js --dry-run --check --strict --verbose \
tests/fixtures/data
- name: Clone all translations
if: ${{ matrix.test-group == 'translations' }}
uses: ./.github/actions/clone-translations