Unverified Commit 3713e7da authored by Mark Lodato's avatar Mark Lodato Committed by GitHub
Browse files

Merge pull request #86 from MarkLodato/npm

Set up `npm run lint` to call markdownlint.
parents 370d5b41 833d1a5d
name: Lint
on: [pull_request]
on: [workflow_dispatch, pull_request]
permissions: read-all
runs-on: ubuntu-latest
- name: Markdown Lint
uses: nosborn/github-action-markdown-cli@6e34c67b8bd3406dd8ee6eeba353ca4c66793501 # v2.0.0
files: .
config_file: ".markdownlint.yaml"
- name: Checkout
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
- name: Setup Node
uses: actions/setup-node@38d90ce44d5275ad62cc48384b3d8a58c500bb5f # v2.2.0
- run: npm ci --ignore-scripts
- run: npm run lint --silent
This diff is collapsed.
"scripts": {
"lint": "markdownlint *.md controls/*.md",
"format": "markdownlint *.md controls/*.md --fix"
"dependencies": {
"markdownlint-cli": "^0.27.1"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment