tools: limit checkout for lint-addon-docs

Exclude unused vendored dependencies from the lint-addon-docs checkout
to reduce checkout time.

Assisted-by: Codex
Signed-off-by: inoway46 <inoueyuya416@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/66505
Refs: https://github.com/nodejs/node/issues/64972
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
Yuya Inoue authored and GitHub committed 2026-10-23 12:44:53 +00:00
1 parent 5741b0ed04
commit 7eff3cc4cd
1 file changed
+4
+4
View File
@@ -28,6 +28,10 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
sparse-checkout: |
/*
!/deps/
sparse-checkout-cone-mode: false
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with: