Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add link checker action #1737

Merged
merged 1 commit into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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