Skip to content

Commit

Permalink
ci: add link checker action (#1737)
Browse files Browse the repository at this point in the history
use lychee instead
  • Loading branch information
Kikobeats authored Aug 2, 2024
1 parent 8453c7a commit cc477f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 23 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ jobs:
id: lychee
uses: lycheeverse/lychee-action@v1
with:
args: -vv https://microlink.io
args: -vv https://microlink.io --exclude fonts.gstatic.com --exclude fonts.googleapis.com
fail: true
22 changes: 0 additions & 22 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,25 +49,3 @@ jobs:
run: |
pnpm install react react-dom next
./node_modules/.bin/next lint
urlint:
if: github.ref != 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Setup PNPM
uses: pnpm/action-setup@v4
with:
version: latest
run_install: false
- name: Lint
run: |
pnpm install urlint
./node_modules/.bin/urlint https://microlink.io/sitemap.xml

0 comments on commit cc477f3

Please sign in to comment.