Commit 833d1a5d authored by Mark Lodato's avatar Mark Lodato
Browse files

Pin GH Actions and rename lint to format

parent 221e8347
...@@ -5,7 +5,9 @@ jobs: ...@@ -5,7 +5,9 @@ jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: Checkout
- uses: actions/setup-node@v2 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 ci --ignore-scripts
- run: npm run lint --silent - run: npm run lint --silent
{ {
"scripts": { "scripts": {
"lint": "markdownlint *.md controls/*.md", "lint": "markdownlint *.md controls/*.md",
"fix": "markdownlint *.md controls/*.md --fix" "format": "markdownlint *.md controls/*.md --fix"
}, },
"dependencies": { "dependencies": {
"markdownlint-cli": "^0.27.1" "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