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

feat(ci): add workflow for broken links check #65

Merged
merged 12 commits into from
Nov 26, 2024
25 changes: 25 additions & 0 deletions .github/workflows/brokenlinks-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Broken Links Check

on:
pull_request:

jobs:
broken-links-check:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
path: ~/.npm-global
key: ${{ runner.os }}-build-${{ env.cache-name }}

- name: Install Mintlify
run: npm i -g mintlify

- name: Run Broken Links Check
run: mintlify broken-links
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
.DS_Store
*.py
rename_files.py.save
node_modules/
Loading