From 4044152329a177a1463e8398e55058dfcb3571df Mon Sep 17 00:00:00 2001 From: ehmicky Date: Wed, 5 Jun 2024 19:03:59 +0100 Subject: [PATCH] Automatically check Markdown links (#1120) --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 08e9967b2c..e6777ab43b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,6 +22,11 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm install + - uses: lycheeverse/lychee-action@v1 + with: + 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' + fail: true + if: ${{ matrix.os == 'ubuntu' && matrix.node-version == 22 }} - run: npm run lint - run: npm run type - run: npm run unit