Skip to content

Commit

Permalink
feat(ci): add workflow for broken links check
Browse files Browse the repository at this point in the history
  • Loading branch information
Ad-Bean committed Nov 19, 2024
1 parent e587df4 commit b7b33d4
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/brokenlinks-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Broken Links Check

on:
push:
branches:
- main
pull_request:
branches:
- main

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

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

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"

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

- name: Run Broken Links Check
run: mintlify check-links

0 comments on commit b7b33d4

Please sign in to comment.