Skip to content

Commit

Permalink
Markdown lint (mdn#496)
Browse files Browse the repository at this point in the history
* chore: Format MD files with Markdownlint

* markdown-lint

* ignore the files we didn't even create

* feedback from @schonni

* fix existing

Co-authored-by: Nick Schonning <[email protected]>
  • Loading branch information
peterbe and nschonni authored Feb 1, 2021
1 parent 09e5675 commit e06106d
Show file tree
Hide file tree
Showing 3 changed files with 466 additions and 221 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/markdown-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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
Loading

0 comments on commit e06106d

Please sign in to comment.