Skip to content

Commit

Permalink
Replace markdown-link-check with lychee
Browse files Browse the repository at this point in the history
  • Loading branch information
michel-kraemer committed Sep 9, 2024
1 parent 0a33aeb commit 0527faa
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 1,407 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branches:
- master

env:
LYCHEE_VERSION: v0.15.0

jobs:
lint:
runs-on: ubuntu-latest
Expand All @@ -18,5 +21,12 @@ jobs:
with:
node-version: 16

- name: Install lychee
run: |
curl -fLO "https://github.com/lycheeverse/lychee/releases/download/${LYCHEE_VERSION}/lychee-${LYCHEE_VERSION}-x86_64-unknown-linux-gnu.tar.gz"
tar -xvzf lychee-${LYCHEE_VERSION}-x86_64-unknown-linux-gnu.tar.gz
rm lychee-${LYCHEE_VERSION}-x86_64-unknown-linux-gnu.tar.gz
mv lychee /usr/local/bin
- run: npm ci
- run: npm run lint
1 change: 1 addition & 0 deletions .lycheeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
^https://blogs\.oracle\.com
3 changes: 0 additions & 3 deletions .markdown-link-check.json

This file was deleted.

Loading

0 comments on commit 0527faa

Please sign in to comment.