Skip to content

Commit

Permalink
ignoring png files
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleoconnell-NIH committed Dec 4, 2023
1 parent 0c5a7d9 commit 21507f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/check_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 14

- name: Install dependencies
run: |
npm install -g markdown-link-check
- name: Check links in Markdown files
run: |
markdown-link-check --quiet \
--ignore '/docs/**/*.png' \
$(find . -name "*.md" -not -path "./node_modules/*")
run: markdown-link-check --config .markdown-link-check.yaml $(find . -name "*.md" -not -path "./node_modules/*" -not -path "./docs/**/*.png")

3 changes: 3 additions & 0 deletions .markdown-link-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
skipFiles:
- '**/docs/**/*.png'

0 comments on commit 21507f3

Please sign in to comment.