Skip to content

Commit e030fae

Browse files
Use npm install for docs tool installation (#122)
This should supposedly fix the build error: https://github.com/splunk/stef/actions/runs/17238794587/job/48910819037
1 parent 2e83477 commit e030fae

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

makefile

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,10 @@ docs-install-deps:
116116
exit 1; \
117117
fi
118118
@if [ ! -f package.json ]; then \
119-
echo "Creating package.json..."; \
120-
npm init -y; \
119+
echo " package.json not found. Cannot install dependencies."; \
120+
exit 1; \
121121
fi
122-
@echo "Installing HTML validation tools..."
123-
@npm install html-validate
124-
@echo "Installing CSS validation tools..."
125-
@npm install stylelint stylelint-config-standard
126-
@echo "Installing link checking tools..."
127-
@npm install markdown-link-check
122+
@echo "Installing all dependencies from package.json..."
123+
@npm install
128124
@echo "✅ All docs dependencies installed successfully!"
129125
@echo "Tools installed in ./node_modules/.bin/"

0 commit comments

Comments
 (0)