mirror of
https://github.com/tester-army/e2e.git
synced 2026-11-24 01:50:04 +08:00
* 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
44 lines
1.2 KiB
YAML
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
|