blob: 8b6e8d75b130ca696d43849288a68d444504f587 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
name: Markdown lint (project files)
on:
pull_request:
branches:
- main
paths:
- '*.md'
- .github/workflows/markdown-lint.yml
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "12"
- name: Lint markdown files
run: |
npx markdownlint-cli '*.md' -i LICENSE.md -i CODE_OF_CONDUCT.md
|