From 2a2e3d117d2e9dfa89998da03475735f3cb7ea68 Mon Sep 17 00:00:00 2001 From: ehmicky Date: Sun, 2 Jun 2024 12:23:26 +0100 Subject: [PATCH] Automatically check Markdown links --- .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