Skip to content

Commit 6ab65f9

Browse files
committed
fix: add missing theme build step to GitHub Actions deployment workflow
- Add 'pnpm build:theme' step to both portal and standards build jobs - Theme package must be built before sites can build since they depend on @ifla/theme/dist/config.js - This resolves the 'Cannot find module' errors that were causing all builds to fail - Ensures theme package is compiled before Docusaurus attempts to load site configurations
1 parent 813890d commit 6ab65f9

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/deploy-all.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,10 @@ jobs:
118118
119119
- name: Install dependencies
120120
run: pnpm install --frozen-lockfile
121-
121+
122+
- name: Build theme package
123+
run: pnpm build:theme
124+
122125
- name: Build portal
123126
run: pnpm exec docusaurus build portal
124127
env:
@@ -199,7 +202,11 @@ jobs:
199202
- name: Install dependencies
200203
if: steps.should-build.outputs.build == 'true'
201204
run: pnpm install --frozen-lockfile
202-
205+
206+
- name: Build theme package
207+
if: steps.should-build.outputs.build == 'true'
208+
run: pnpm build:theme
209+
203210
- name: Build ${{ matrix.standard }}
204211
if: steps.should-build.outputs.build == 'true'
205212
run: pnpm exec docusaurus build standards/${{ matrix.standard }}

0 commit comments

Comments
 (0)