-
-
Notifications
You must be signed in to change notification settings - Fork 373
32 lines (29 loc) · 780 Bytes
/
build-docs.yml
File metadata and controls
32 lines (29 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Builds the Appium Inspector MkDocs documentation
# Executed on pull request if documentation-related files are changed
name: Build Docs
on:
pull_request:
branches: [main]
paths:
- 'docs/**'
- 'mkdocs.yml'
- 'tsconfig.json'
- 'package*.json'
- '.github/workflows/build-docs.yml' # this file
jobs:
docs:
name: Build Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Use Node.js LTS
uses: actions/setup-node@v6
with:
node-version: lts/*
cache: 'npm'
- name: Install dependencies (Node.js)
run: npm ci
- name: Install dependencies (Python)
run: npm run install-docs-deps
- name: Build Docs
run: npm run build:docs