Skip to content

Commit 8fcee4c

Browse files
committed
ci(docs): install docs dependencies separately in workflows
1 parent 92f0e03 commit 8fcee4c

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/docs-preview.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
- name: Install dependencies
3535
run: npm ci
3636

37+
- name: Install docs dependencies
38+
run: npm ci --prefix docs
39+
3740
- name: Build documentation
3841
run: npm run docs:build
3942

.github/workflows/pr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ jobs:
3939
- name: Install dependencies
4040
run: npm ci
4141

42+
- name: Install docs dependencies
43+
run: npm ci --prefix docs
44+
4245
- name: Verify documentation builds
4346
run: npm run docs:build
4447

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ jobs:
4848
- name: Install dependencies
4949
run: npm ci
5050

51+
- name: Install docs dependencies
52+
run: npm ci --prefix docs
53+
5154
- name: Verify documentation builds
5255
run: npm run docs:build
5356

@@ -138,6 +141,9 @@ jobs:
138141
- name: Install dependencies
139142
run: npm ci
140143

144+
- name: Install docs dependencies
145+
run: npm ci --prefix docs
146+
141147
- name: Build documentation
142148
run: npm run docs:build
143149

0 commit comments

Comments
 (0)