mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-11-16 00:59:07 +02:00
Use lychee instead of markdown-link-check on CI (#12001)
This commit is contained in:
parent
0dfdc6ce3f
commit
e1bd4104b1
7
.github/markdown-link-check.json
vendored
7
.github/markdown-link-check.json
vendored
@ -1,7 +0,0 @@
|
||||
{
|
||||
"ignorePatterns": [
|
||||
{
|
||||
"pattern": "^https://www.similarweb.com"
|
||||
}
|
||||
]
|
||||
}
|
11
.github/workflows/verify.yml
vendored
11
.github/workflows/verify.yml
vendored
@ -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/"
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user