Skip to content

Commit d926f6d

Browse files
author
Artem Panfilov
committed
add markdown linter
Signed-off-by: Artem Panfilov <[email protected]>
1 parent 0de0565 commit d926f6d

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.github/workflows/markdown.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Markdown Lint
2+
on:
3+
push:
4+
paths:
5+
- README.md
6+
branches:
7+
- arc-dev
8+
- arc-releases
9+
pull_request:
10+
paths:
11+
- README.md
12+
branches:
13+
- arc-dev
14+
- arc-releases
15+
jobs:
16+
markdown:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v2
20+
- uses: actions/setup-node@v1
21+
with:
22+
node-version: '10'
23+
- name: Install markdownlint
24+
run: npm install -g markdownlint-cli
25+
- name: Run Markdownlint
26+
run: markdownlint ${GITHUB_WORKSPACE}/README.md -c ${GITHUB_WORKSPACE}/.markdownlint.yml

.markdownlint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
MD013: false

0 commit comments

Comments
 (0)