Merge pull request #1 from CommonPaper/bg-initial-commit #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
linters: | |
name: Markdown linting | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- name: Install dependencies | |
run: npm install [email protected] | |
- name: Install spellcheck | |
run: npm install markdown-spellcheck | |
- name: Run markdownlint | |
run: npx markdownlint *.md --config="config/lint.json" | |
- name: Run spell check | |
run: npx mdspell *.md --en-us --ignore-numbers --ignore-acronyms --report |