# This workflow will install node dependencies and run tests
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: MarkdownLint

on: [push, pull_request]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  # This workflow contains a single job called "build"
  build:
    runs-on: ubuntu-latest
    steps:
    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
    - uses: actions/checkout@v2
    - uses: actions/setup-node@v1
      with:
        node-version: '12.x'
    - run: npm install -g markdown-link-check
    - run: markdown-link-check ./README.md
    - run: markdown-link-check ./CONTRIBUTING.md
    - run: markdown-link-check ./CHANGELOG.md
    # https://github.com/igorshubovych/markdownlint-cli
    - run: npm install -g markdownlint-cli
    - run: |
        touch .markdownlint.json <<'EOF'
        {
          "MD013": false,
          "MD026": false,
          "MD040": false,
        }
        EOF
        markdownlint '**/*.md' --config .markdownlint.json

# This workflow will install node dependencies and run tests
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: MarkdownLint

on: [push, pull_request]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  # This workflow contains a single job called "build"
  build:
    runs-on: ubuntu-latest
    steps:
    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
    - uses: actions/checkout@v2
    - uses: actions/setup-node@v1
      with:
        node-version: '12.x'
    - run: npm install -g markdown-link-check
    - run: markdown-link-check ./README.md
    - run: markdown-link-check ./CONTRIBUTING.md
    - run: markdown-link-check ./CHANGELOG.md
    # https://github.com/igorshubovych/markdownlint-cli
    - run: npm install -g markdownlint-cli
    - name: run markdownlint
      run: |
        touch .markdownlint.json && cat >> .markdownlint.json <<'EOF'
        {
          "MD013": false,
          "MD026": false,
          "MD040": false,
        }
        EOF
        markdownlint '**/*.md' --config .markdownlint.json

Add markdownlint config json file
Add markdownlint config json file
