Update N_0x9237e334f6e43156.md #5
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: Validate Markdown Documentation | |
on: | |
push: | |
paths: | |
- '**/*.md' | |
- '!README.md' # Exclude README.md at the root | |
- '!.github/**' | |
jobs: | |
check-markdown-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
# Fetch all history for all tags and branches | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '12' | |
- name: Get modified .md files | |
id: get-modified-files | |
run: | | |
echo "::set-output name=modified_md_files::$(git diff --name-only HEAD HEAD~ -- '*.md')" | |
- name: Check Markdown Documentation | |
run: node .github/scripts/checkDocs.js ${{ steps.get-modified-files.outputs.modified_md_files }} |