Skip to content

Commit f8d8b4d

Browse files
committed
ci: build frontend before Python wheel in release pipeline
The hatch build hook bundles frontend/dist into the wheel as fourdpocket/static. Without building the frontend first, the PyPI wheel ships without the UI.
1 parent 3c01bcd commit f8d8b4d

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,18 @@ jobs:
177177
with:
178178
python-version: "3.12"
179179

180+
- name: Set up Node
181+
uses: actions/setup-node@v4
182+
with:
183+
node-version: 22
184+
185+
- name: Install pnpm
186+
run: corepack enable
187+
188+
- name: Build frontend
189+
working-directory: frontend
190+
run: pnpm install --frozen-lockfile && pnpm build
191+
180192
- name: Install build tools
181193
run: pip install build
182194

0 commit comments

Comments
 (0)