Skip to content

Commit 5f864f1

Browse files
authored
build: speed up docs deployment by not running a11y audit tests (#24576)
We can speed up the docs deployment & monitor jobs by not running the rather slower a11y audit tests. These should just be run in the docs repo. The standard audit lighthouse tests should be a sufficient indicator of whether the page is up-and-running properly. Ideally in the future we would have proper e2e tests for the docs site, but even those will never guarantee a 100%-working page.
1 parent 21198fe commit 5f864f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/docs-deploy/monitoring/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@ import {installDepsForDocsSite} from '../docs-deps-install';
88
import {sites} from '../utils';
99

1010
/**
11-
* Runs all audit tests from the given docs repository, ensuring that the
11+
* Runs monitoring tests for the given docs repository, ensuring that the
1212
* specified remote URL is properly functioning.
1313
*/
1414
export async function runMonitorTests(docsRepoDir: string, remoteUrl: string) {
1515
cd(docsRepoDir);
1616

17-
await $`node ./tools/audit-docs-a11y.js ${remoteUrl}`;
1817
await $`node ./tools/audit-docs.js ${remoteUrl}`;
1918
}
2019

0 commit comments

Comments
 (0)