Skip to content

Commit b1bf7c7

Browse files
Update docs.yml
1 parent 8b96b41 commit b1bf7c7

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/docs.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,23 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222

23+
# Node for Mermaid rendering
24+
- name: Set up Node
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: "20"
28+
29+
- name: Install Mermaid CLI
30+
run: |
31+
npm install -g @mermaid-js/mermaid-cli
32+
33+
- name: Render Mermaid diagram(s) for docs (no commit)
34+
run: |
35+
node scripts/render-mermaid-to-docs.mjs
36+
echo "=== docs/ contents after render ==="
37+
ls -la docs || true
38+
39+
# Python for MkDocs build
2340
- name: Set up Python
2441
uses: actions/setup-python@v5
2542
with:

0 commit comments

Comments
 (0)