Skip to content

Commit b5d5809

Browse files
committed
Validate src/oas.md
1 parent 76409f4 commit b5d5809

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/validate-markdown.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
with:
2929
node-version: '20.x'
3030
- name: Validate markdown
31-
run: npx --yes mdv versions/3.*.md
31+
run: npx --yes mdv versions/3.*.md src/oas.md
3232
- name: Lint markdown 3.0.4, 3.1.1, and later
33-
run: npx --yes markdownlint-cli --config .markdownlint.yaml versions/3.0.4.md versions/3.1.[^0].md versions/3.[2-9].*.md
33+
run: npx --yes markdownlint-cli --config .markdownlint.yaml versions/3.0.4.md versions/3.1.[^0].md versions/3.[2-9].*.md src/oas.md

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"license": "Apache-2.0",
1515
"scripts": {
1616
"build": "bash ./scripts/md2html/build.sh",
17-
"test": "c8 --100 vitest --watch=false"
17+
"test": "c8 --100 vitest --watch=false",
18+
"validate-markdown": "npx mdv src/oas.md && npx markdownlint-cli src/oas.md"
1819
},
1920
"readmeFilename": "README.md",
2021
"files": [

0 commit comments

Comments
 (0)