Skip to content

test: add tests for monorepo base path #18396

test: add tests for monorepo base path

test: add tests for monorepo base path #18396

Workflow file for this run

name: Verify Docs
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
verify-docs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: npm
- name: Install core dependencies
run: npm ci --no-audit
- name: Install site dependencies
run: npm run site:build:install
- name: Generate docs
run: npm run docs
- name: Check for changes
run: |
if [ -z "$(git status --porcelain)" ]; then
echo "No changes to docs files detected"
else
echo "Changes to docs files detected, please run 'npm run docs' to sync docs"
exit 1
fi