Skip to content

Commit 0527faa

Browse files
Replace markdown-link-check with lychee
1 parent 0a33aeb commit 0527faa

File tree

5 files changed

+18
-1407
lines changed

5 files changed

+18
-1407
lines changed

.github/workflows/lint.yml

+10
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- master
1010

11+
env:
12+
LYCHEE_VERSION: v0.15.0
13+
1114
jobs:
1215
lint:
1316
runs-on: ubuntu-latest
@@ -18,5 +21,12 @@ jobs:
1821
with:
1922
node-version: 16
2023

24+
- name: Install lychee
25+
run: |
26+
curl -fLO "https://github.com/lycheeverse/lychee/releases/download/${LYCHEE_VERSION}/lychee-${LYCHEE_VERSION}-x86_64-unknown-linux-gnu.tar.gz"
27+
tar -xvzf lychee-${LYCHEE_VERSION}-x86_64-unknown-linux-gnu.tar.gz
28+
rm lychee-${LYCHEE_VERSION}-x86_64-unknown-linux-gnu.tar.gz
29+
mv lychee /usr/local/bin
30+
2131
- run: npm ci
2232
- run: npm run lint

.lycheeignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
^https://blogs\.oracle\.com

.markdown-link-check.json

-3
This file was deleted.

0 commit comments

Comments
 (0)