From 21507f3a4edcb9fc7eb502fa8a4c3286bf1189c7 Mon Sep 17 00:00:00 2001 From: Kyle O'Connell Date: Mon, 4 Dec 2023 15:00:05 -0500 Subject: [PATCH] ignoring png files --- .github/workflows/check_links.yml | 8 +++----- .markdown-link-check.yaml | 3 +++ 2 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 .markdown-link-check.yaml diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index 03349a1..ff89638 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -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") + diff --git a/.markdown-link-check.yaml b/.markdown-link-check.yaml new file mode 100644 index 0000000..76632cd --- /dev/null +++ b/.markdown-link-check.yaml @@ -0,0 +1,3 @@ +skipFiles: + - '**/docs/**/*.png' +