Skip to content

Commit bae047f

Browse files
committed
Move linkinator to GitHub Actions. (#35573)
* Move linkinator to GitHub Actions. * Remove `docs-linkinator` npm script since it's no longer used
1 parent 3b63d50 commit bae047f

File tree

3 files changed

+29
-914
lines changed

3 files changed

+29
-914
lines changed

.github/workflows/docs.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,16 @@ jobs:
3030
- name: Install npm dependencies
3131
run: npm ci
3232

33-
- name: Test docs
34-
run: npm run docs
33+
- name: Build docs
34+
run: npm run docs-build
35+
36+
- name: Validate HTML
37+
run: npm run docs-vnu
38+
39+
- name: Run linkinator
40+
uses: JustinBeckwith/linkinator-action@v1
41+
with:
42+
paths: _site
43+
recurse: true
44+
verbosity: error
45+
skip: "^(?!http://localhost)"

0 commit comments

Comments
 (0)