mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
ci: replace htmlproofer with wjdp/htmltest
Signed-off-by: David Karlsson <david.karlsson@docker.com>
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -35,7 +35,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
target:
|
||||
- htmlproofer
|
||||
- htmltest
|
||||
- mdl
|
||||
steps:
|
||||
-
|
||||
@@ -70,7 +70,7 @@ jobs:
|
||||
|
||||
// construct annotations by parsing output
|
||||
switch ("${{ matrix.target }}") {
|
||||
case "htmlproofer":
|
||||
case "htmltest":
|
||||
const re = /^- (.+)\n \* (.+) \(line (\d+)\)\n(.+)$/gm;
|
||||
while (true) {
|
||||
const result = re.exec(results);
|
||||
@@ -79,7 +79,7 @@ jobs:
|
||||
}
|
||||
|
||||
core.error(`${result[2]}\n${result[4]}`, {
|
||||
title: 'Link check failed',
|
||||
title: 'HTML test failed',
|
||||
// file: result[1],
|
||||
// startLine: result[3],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user