Skip to content

feat: Add comprehensive error handling and logging (task 7.2) #53

feat: Add comprehensive error handling and logging (task 7.2)

feat: Add comprehensive error handling and logging (task 7.2) #53

Workflow file for this run

name: Documentation
on:
push:
branches: [ main ]
paths:
- '**/*.md'
- 'docs/**'
pull_request:
branches: [ main ]
paths:
- '**/*.md'
- 'docs/**'
jobs:
markdown-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install markdownlint-cli
run: npm install -g markdownlint-cli
- name: Run markdownlint
run: markdownlint '**/*.md' --ignore node_modules
broken-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install markdown-link-check
run: npm install -g markdown-link-check
- name: Check for broken links
run: |
find . -name "*.md" -not -path "./node_modules/*" | xargs -n1 markdown-link-check -q