Add documentation for Arduino (#2104) #907
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: Lint and Check Markdown | |
on: | |
pull_request: | |
branches: [docs/main] | |
push: | |
branches: | |
- docs/main | |
jobs: | |
lint-markdown: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
- run: | | |
npm install markdownlint-cli | |
- run: | | |
node_modules/.bin/markdownlint -c .markdownlint.jsonc -i node_modules/ . | |
check-markdown-links: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Markdown Link Check | |
uses: gaurav-nelson/github-action-markdown-link-check@v1 | |
with: | |
check-modified-files-only: 'no' #todo make this dependent on label | |
config-file: .markdown-link-check.jsonc | |
use-quiet-mode: 'yes' | |