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