Skip to content

Commit 394a7ca

Browse files
committed
Add CI workflow for governance validation
1 parent 8f3c442 commit 394a7ca

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: markdown-lint-ci
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
validate:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 20
19+
20+
- name: Repository consistency
21+
run: node scripts/check-consistency.js
22+
23+
- name: Table formatter tests
24+
run: node test/format-tables.test.js
25+
26+
- name: Fence validation
27+
run: node lint.js --fences .
28+
29+
- name: Table validation
30+
run: node lint.js --validate .
31+
32+
- name: Markdown lint check
33+
run: node lint.js --check .

0 commit comments

Comments
 (0)