Skip to content

Commit 07c55f8

Browse files
aledlieclaude
andcommitted
fix(ci): use background process instead of jekyll --detach
The --detach flag doesn't work reliably in CI. Use shell backgrounding with & and wait-on in the same step to ensure server is ready. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent a3fa1de commit 07c55f8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,9 @@ jobs:
4848
CI: true
4949

5050
- name: Start Jekyll server for performance tests
51-
run: bundle exec jekyll serve --detach
52-
53-
- name: Wait for Jekyll server
54-
run: npx wait-on http://localhost:4000 --timeout 60000
51+
run: |
52+
bundle exec jekyll serve &
53+
npx wait-on http://localhost:4000 --timeout 60000
5554
5655
- name: Run performance tests
5756
run: npm run test:performance

0 commit comments

Comments
 (0)