Skip to content

Commit e8a61fd

Browse files
committed
Fix install Node.js and mermaid-cli
1 parent 7e4d033 commit e8a61fd

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/gh-pages.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,17 @@ jobs:
1818
- name: Install the project
1919
run: uv sync --all-extras --dev
2020

21+
- name: Set up Node.js
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: '20.x'
25+
26+
- name: Install mermaid-cli
27+
run: npm install -g @mermaid-js/mermaid-cli
28+
2129
- name: Build MkDocs
2230
run: |
2331
uv pip install -e .
24-
npm install --g @mermaid-js/mermaid-cli
2532
uv run mkdocs build --verbose
2633
2734
# - name: Deploy to GitHub Pages

0 commit comments

Comments
 (0)