Skip to content

Link checker

Link checker #10

Workflow file for this run

name: Link checker
on:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 12 * * *'
defaults:
run:
shell: bash
jobs:
link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install Mintlify CLI
run: npm install -g mint
- name: Validate docs.json schema
run: mint --version && test -f docs.json
- name: Check for broken links
run: mint broken-links