You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by ji...@apache.org on 2026/05/28 05:28:33 UTC

(sedona) branch master updated: [CI] Add pre-commit hook to test that the docs can `npm install` (#3000)

This is an automated email from the ASF dual-hosted git repository.

jiayuasu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git


The following commit(s) were added to refs/heads/master by this push:
     new 3aeab65042 [CI] Add pre-commit hook to test that the docs can `npm install` (#3000)
3aeab65042 is described below

commit 3aeab650423ba4d31800a0640433677fe8253e6c
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Thu May 28 15:28:28 2026 +1000

    [CI] Add pre-commit hook to test that the docs can `npm install` (#3000)
---
 .pre-commit-config.yaml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 6b56786824..636ac20ae4 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -40,7 +40,15 @@ repos:
         files: ^README\.md$
   - repo: local
     hooks:
-      - id: npm-install
+      - id: docs-overrides-install
+        name: Install docs-overrides Node dependencies
+        entry: bash -c "cd docs-overrides && npm install"
+        language: system
+        pass_filenames: false
+        files: ^docs-overrides/(package\.json|package-lock\.json)$
+        description: Ensures local node_modules match the lockfile
+        stages: [manual]
+      - id: zeppelin-install
         name: Install Zeppelin Node dependencies
         description: Ensures local node_modules match the lockfile
         entry: bash -c "cd zeppelin && npm install"