1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-12-16 01:10:30 +02:00

Use lychee instead of markdown-link-check on CI (#12001)

This commit is contained in:
Álvaro Mondéjar Rubio 2024-10-13 04:31:07 +02:00 committed by GitHub
parent 0dfdc6ce3f
commit e1bd4104b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 12 deletions

View File

@ -1,7 +0,0 @@
{
"ignorePatterns": [
{
"pattern": "^https://www.similarweb.com"
}
]
}

View File

@ -58,11 +58,14 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check documentation links
if: steps.changes.outputs.docs == true
run: |
npx markdown-link-check --retry \
--config .github/markdown-link-check.json \
uses: lycheeverse/lychee-action@v2
with:
args: --exclude ^https://www.similarweb.com -- \
${{ steps.changes.outputs.docs_files }}
continue-on-error: ${{ github.ref == 'refs/heads/develop' }}
fail: ${{ github.ref != 'refs/heads/develop' }}
jobSummary: true
format: markdown
token: ${{ secrets.GITHUB_TOKEN }}
- name: Verify file permissions
run: |
CHECK_DIRS="icons/ _data/"

View File

@ -98,7 +98,6 @@
"husky": "9.0.11",
"inquirer-autocomplete-standalone": "0.8.1",
"jsonschema": "1.4.1",
"markdown-link-check": "3.12.1",
"mocha": "10.4.0",
"named-html-entities-json": "1.0.0",
"spdx-license-ids": "3.0.20",