-
-
Notifications
You must be signed in to change notification settings - Fork 420
43 lines (41 loc) · 1.01 KB
/
docs.yml
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
33
34
35
36
37
38
39
40
41
42
43
name: Build Docs
on:
pull_request:
paths:
- 'typedoc.json'
- 'tsconfig.json'
- 'scripts/build-docs.js'
- 'package*.json'
- 'lib/**/*.ts'
- 'lib/**/*.js'
- 'docs/**'
- '.github/workflows/docs.yml' # this file
- '!ci-jobs/**'
- '!**/test/**'
push:
paths:
- 'typedoc.json'
- 'tsconfig.json'
- 'scripts/build-docs.js'
- 'package*.json'
- 'lib/**/*.ts'
- 'lib/**/*.js'
- 'docs/**'
- '.github/workflows/docs.yml' # this file
- '!ci-jobs/**'
- '!**/test/**'
jobs:
docs:
name: Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- name: Install dependencies (Node.js)
uses: bahmutov/npm-install@v1
with:
useRollingCache: true
install-command: npm ci
- name: Install dependencies (Python)
run: npm run install-docs-deps
- name: Build Docs
run: npm run build:docs