Files
e2e/.github/workflows/docs.yml
T
Oskar Kwaśniewski 9f62d9bdce fix(skill): declare the app on the target in skill and docs config examples (#709)
* fix(skill): declare the app on the target in skill and docs config examples

The bundled skill and docs/authentication.mdx still taught web({ url, command }), removed in #698. The skill's two config examples now live in docs/examples/skill/, typechecked and mirrored by check-docs-examples, so the old shape fails pnpm check.

* fix(skill): run the docs drift check on skill changes, drop stale service wording
2026-10-01 09:43:09 +02:00

44 lines
1.2 KiB
YAML

name: docs
on:
pull_request:
paths:
- 'docs/**'
- 'skills/e2e/**'
- 'scripts/check-docs-*.ts'
- 'pnpm-lock.yaml'
- '.github/workflows/docs.yml'
push:
branches: [main]
paths:
- 'docs/**'
- 'skills/e2e/**'
- 'scripts/check-docs-*.ts'
- 'pnpm-lock.yaml'
- '.github/workflows/docs.yml'
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
build:
runs-on: blacksmith-4vcpu-ubuntu-2404
timeout-minutes: 10
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: pnpm/action-setup@9fd676a19091d4595eefd76e4bd31c97133911f1 # v4.2.0
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 26
cache: pnpm
- run: pnpm install --frozen-lockfile
# Mintlify builds and hosts the site from main through its GitHub app.
# This job is the check: it fails on an invalid page, a broken link, or a
# docs or skill code block that drifted from docs/examples.
- name: Check docs
run: pnpm run docs:check