Skip to content

Commit c93ba2d

Browse files
authored
ci: add ci pipeline for documentation (#6020)
1 parent 8a26eb4 commit c93ba2d

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/ci-docs.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI Docs
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
# Run on every PR, regardless of branch
8+
branches: [ '*' ]
9+
10+
jobs:
11+
test-docs:
12+
name: Docs Test
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
19+
- name: Setup Node.js (latest)
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: 'node' # Use 'node' for the latest version
23+
cache: 'npm'
24+
25+
- name: Install dependencies
26+
run: npm install
27+
28+
- name: Test documentation
29+
run: |
30+
npm run doc:fp
31+
npm run doc:site
32+
npm run doc

0 commit comments

Comments
 (0)