Skip to content

Commit 506448f

Browse files
committed
ci: update the CI rule to install markdownlint for properly fixing generated docs in invoke command
1 parent 90a8edb commit 506448f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,14 @@ jobs:
208208
run: "poetry install --no-interaction --no-ansi --extras ctl"
209209
- name: "Setup environment"
210210
run: "pip install invoke toml"
211+
- name: Install Node.js
212+
uses: actions/setup-node@v4
213+
with:
214+
node-version: 20
215+
cache: "npm"
216+
cache-dependency-path: "**/package-lock.json"
217+
- name: Install markdown linter
218+
run: npm install -g markdownlint-cli2
211219
- name: "Generate SDK API documentation"
212220
run: ${{ env.DOCS_COMMAND }}
213221
- name: "Check if SDK API documentation needs to be refreshed"

0 commit comments

Comments
 (0)