aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/markdown-lint.yml
blob: 7a6fde4818309aaa24b6e1369a3e8b373a954527 (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@v2
        with:
          node-version: "12"

      - name: Lint markdown files
        run: |
          npx markdownlint-cli '*.md' -i LICENSE.md -i CODE_OF_CONDUCT.md