diff --git a/.github/workflows/markdown-link-check.yml b/.github/workflows/markdown-link-check.yml index 88050bf61..a41ac716d 100644 --- a/.github/workflows/markdown-link-check.yml +++ b/.github/workflows/markdown-link-check.yml @@ -18,6 +18,6 @@ jobs: with: node-version: 'lts/*' - name: Install markdown-link-check - run: npm i -g markdown-link-check@3.11.0 + run: npm i -g markdown-link-check@3.14.1 - name: Run markdown-link-check on MD files run: find . -name "*.md" | xargs -n 1 markdown-link-check -c markdown_link_check_config.json -q diff --git a/README.md b/README.md index 2daf5e330..a79c8938e 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. -See: http://nodejs.org +See: https://nodejs.org ## How to use this image diff --git a/markdown_link_check_config.json b/markdown_link_check_config.json index 1b8b1d40f..ee9cafc89 100644 --- a/markdown_link_check_config.json +++ b/markdown_link_check_config.json @@ -1,12 +1,13 @@ { - "httpHeaders": [ + "ignorePatterns": [ { - "urls": [ - "https://docs.github.com" - ], - "headers": { - "Accept-Encoding": "br, gzip, deflate" - } + "pattern": "^https://nodejs\\.org/" + }, + { + "pattern": "^https://www\\.npmjs\\.com/" + }, + { + "pattern": "^https://news\\.ycombinator\\.com/" } ] }