Skip to content

DeepSeek V4.1 Flash examples use the 1017 id #122

DeepSeek V4.1 Flash examples use the 1017 id

DeepSeek V4.1 Flash examples use the 1017 id #122

Workflow file for this run

name: Docs CI
on:
pull_request:
push:
branches: [main]
# Content checks. The site build, links, anchors, redirects and image alt text
# are checked by the "Docs site" workflow.
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- id: deps
uses: actions/cache@v4
with:
path: node_modules
key: docs-deps-${{ runner.os }}-node22-${{ hashFiles('package-lock.json') }}
- if: steps.deps.outputs.cache-hit != 'true'
run: npm ci --no-audit --no-fund
- name: Validate schemas, examples, navigation, and redirects
run: npm run check
- name: Compile and exercise Node guide examples with mocked HTTP
run: npm run check:node
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install the documented Python SDK
run: python -m pip install predev-api==1.1.0
- name: Exercise Python guide examples with mocked HTTP
run: npm run check:python
- name: Guard against fictional packages
run: |
! grep -rn "@predev/sdk\|pip install predev[^-]\|@predotdev/mcp-server" --include="*.mdx" --exclude-dir=node_modules . || (echo "Unknown SDK or MCP package in docs" && exit 1)
- name: Guard against internal infrastructure disclosures
run: |
! grep -rni "supertokens\|daytona\|e2b\|kubernetes ingress" --include="*.mdx" --exclude-dir=node_modules . || (echo "Internal infrastructure mentioned in public docs" && exit 1)