Skip to content

Commit 4044152

Browse files
authored
Automatically check Markdown links (#1120)
1 parent a2e4dbe commit 4044152

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ jobs:
2222
with:
2323
node-version: ${{ matrix.node-version }}
2424
- run: npm install
25+
- uses: lycheeverse/lychee-action@v1
26+
with:
27+
args: --verbose --no-progress --include-fragments --max-concurrency 10 --exclude linkedin --exclude file:///test --exclude invalid.com '*.md' 'docs/*.md' '.github/**/*.md' '*.json' '*.js' 'lib/**/*.js' 'test/**/*.js' '*.ts' 'test-d/**/*.ts'
28+
fail: true
29+
if: ${{ matrix.os == 'ubuntu' && matrix.node-version == 22 }}
2530
- run: npm run lint
2631
- run: npm run type
2732
- run: npm run unit

0 commit comments

Comments
 (0)