mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
tools: run doctool tests on GitHub Actions CI
PR-URL: https://github.com/nodejs/node/pull/37398 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
4
.github/workflows/misc.yml
vendored
4
.github/workflows/misc.yml
vendored
@@ -29,5 +29,5 @@ jobs:
|
||||
with:
|
||||
name: docs
|
||||
path: out/doc
|
||||
- name: Check links
|
||||
run: node tools/doc/checkLinks.js .
|
||||
- name: Test
|
||||
run: NODE=$(command -v node) make test-doc-ci TEST_CI_ARGS="-p actions"
|
||||
|
||||
5
Makefile
5
Makefile
@@ -588,6 +588,11 @@ test-doc: doc-only lint-md ## Builds, lints, and verifies the docs.
|
||||
fi
|
||||
$(NODE) tools/doc/checkLinks.js .
|
||||
|
||||
.PHONY: test-doc-ci
|
||||
test-doc-ci: doc-only
|
||||
$(PYTHON) tools/test.py --shell $(NODE) $(TEST_CI_ARGS) $(PARALLEL_ARGS) doctool
|
||||
$(NODE) tools/doc/checkLinks.js .
|
||||
|
||||
test-known-issues: all
|
||||
$(PYTHON) tools/test.py $(PARALLEL_ARGS) known_issues
|
||||
|
||||
|
||||
Reference in New Issue
Block a user