Skip to content

Commit

Permalink
Merge pull request #4199 from ralfhandl/dev-validate-oas.md
Browse files Browse the repository at this point in the history
dev: Validate src/oas.md
  • Loading branch information
lornajane authored Nov 14, 2024
2 parents 76409f4 + b5d5809 commit 95ee947
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validate-markdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:
with:
node-version: '20.x'
- name: Validate markdown
run: npx --yes mdv versions/3.*.md
run: npx --yes mdv versions/3.*.md src/oas.md
- name: Lint markdown 3.0.4, 3.1.1, and later
run: npx --yes markdownlint-cli --config .markdownlint.yaml versions/3.0.4.md versions/3.1.[^0].md versions/3.[2-9].*.md
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
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"license": "Apache-2.0",
"scripts": {
"build": "bash ./scripts/md2html/build.sh",
"test": "c8 --100 vitest --watch=false"
"test": "c8 --100 vitest --watch=false",
"validate-markdown": "npx mdv src/oas.md && npx markdownlint-cli src/oas.md"
},
"readmeFilename": "README.md",
"files": [
Expand Down

0 comments on commit 95ee947

Please sign in to comment.