mirror of
https://github.com/Mibew/simple-icons.git
synced 2025-02-07 17:54:42 +03: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 }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Check documentation links
|
- name: Check documentation links
|
||||||
if: steps.changes.outputs.docs == true
|
if: steps.changes.outputs.docs == true
|
||||||
run: |
|
uses: lycheeverse/lychee-action@v2
|
||||||
npx markdown-link-check --retry \
|
with:
|
||||||
--config .github/markdown-link-check.json \
|
args: --exclude ^https://www.similarweb.com -- \
|
||||||
${{ steps.changes.outputs.docs_files }}
|
${{ 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
|
- name: Verify file permissions
|
||||||
run: |
|
run: |
|
||||||
CHECK_DIRS="icons/ _data/"
|
CHECK_DIRS="icons/ _data/"
|
||||||
|
@ -98,7 +98,6 @@
|
|||||||
"husky": "9.0.11",
|
"husky": "9.0.11",
|
||||||
"inquirer-autocomplete-standalone": "0.8.1",
|
"inquirer-autocomplete-standalone": "0.8.1",
|
||||||
"jsonschema": "1.4.1",
|
"jsonschema": "1.4.1",
|
||||||
"markdown-link-check": "3.12.1",
|
|
||||||
"mocha": "10.4.0",
|
"mocha": "10.4.0",
|
||||||
"named-html-entities-json": "1.0.0",
|
"named-html-entities-json": "1.0.0",
|
||||||
"spdx-license-ids": "3.0.20",
|
"spdx-license-ids": "3.0.20",
|
||||||
|
Loading…
Reference in New Issue
Block a user