Skip to content

Commit 9d83122

Browse files
authored
Merge pull request #2296 from MikeMcC399/fix/markdown-link-checks
ci: fix markdown-link-check
2 parents b89169a + e0a4201 commit 9d83122

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.github/workflows/markdown-link-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
with:
1919
node-version: 'lts/*'
2020
- name: Install markdown-link-check
21-
run: npm i -g markdown-link-check@3.11.0
21+
run: npm i -g markdown-link-check@3.14.1
2222
- name: Run markdown-link-check on MD files
2323
run: find . -name "*.md" | xargs -n 1 markdown-link-check -c markdown_link_check_config.json -q

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fast, scalable network applications. Node.js uses an event-driven, non-blocking
4545
I/O model that makes it lightweight and efficient, perfect for data-intensive
4646
real-time applications that run across distributed devices.
4747

48-
See: http://nodejs.org
48+
See: https://nodejs.org
4949

5050
## How to use this image
5151

markdown_link_check_config.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
2-
"httpHeaders": [
2+
"ignorePatterns": [
33
{
4-
"urls": [
5-
"https://docs.github.com"
6-
],
7-
"headers": {
8-
"Accept-Encoding": "br, gzip, deflate"
9-
}
4+
"pattern": "^https://nodejs\\.org/"
5+
},
6+
{
7+
"pattern": "^https://www\\.npmjs\\.com/"
8+
},
9+
{
10+
"pattern": "^https://news\\.ycombinator\\.com/"
1011
}
1112
]
1213
}

0 commit comments

Comments
 (0)