Skip to content

Commit 8d0a53a

Browse files
DIYgodclaude
andcommitted
fix(ci): build worker routes before worker-build
The worker build requires routes-worker.js which is generated by running build:routes with WORKER_BUILD=true. This was missing in CI, causing the worker build to fail with "Could not resolve routes.js". 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 31b6ed2 commit 8d0a53a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
run: pnpm rb && pnpx rebrowser-puppeteer browsers install chrome
4343
- name: Build routes
4444
run: pnpm build
45+
- name: Build worker routes
46+
run: WORKER_BUILD=true pnpm build:routes
4547
- name: Build worker
4648
run: pnpm worker-build
4749
- name: Test all and generate coverage

0 commit comments

Comments
 (0)