Skip to content

ci: lint all the things #252

ci: lint all the things

ci: lint all the things #252

name: Docs Lint/Link Checks
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- docs/**
- .github/**
defaults:
run:
working-directory: docs
jobs:
checks:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
cache-dependency-path: 'docs/package-lock.json'
- name: npm install
run: npm ci --include=dev --ignore-scripts
- name: Run docusaurus build to check for broken links etc
run: |
npm run build