Skip to content

fix: check ip version if settings.useStaticServer #18373

fix: check ip version if settings.useStaticServer

fix: check ip version if settings.useStaticServer #18373

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