Skip to content

Commit e98b2d9

Browse files
committed
Fix doc-tools not found error in test-mcp-examples workflow
- Add npm install step to install @redpanda-data/docs-extensions-and-macros - Use --no-install flag with npx to prevent trying to download from npm - The doc-tools binary is provided by @redpanda-data/docs-extensions-and-macros
1 parent 19fcd2e commit e98b2d9

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/test-mcp-examples.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ jobs:
2828
with:
2929
node-version: '22'
3030

31-
- name: Install doc-tools and dependencies
32-
run: npx doc-tools install-test-dependencies
31+
- name: Install npm dependencies
32+
run: npm install
33+
34+
- name: Install doc-tools dependencies
35+
run: npx --no-install doc-tools install-test-dependencies
3336

3437
- name: Make test script executable
3538
run: chmod +x modules/ai-agents/examples/test-mcp-examples.sh

0 commit comments

Comments
 (0)