Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fixing workflow

rafaelsideguideca8c8b87dcf2
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8c857821b..042d0c387 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -47,12 +47,17 @@ jobs:
- name: Start the application
run: npm start &
working-directory: ./apps/api
+ id: start_app
- name: Start workers
run: npm run workers &
working-directory: ./apps/api
+ id: start_workers
- name: Run E2E tests
- run: npx jest --openHandlesTimeout=60000 --watchAll=false -- src/__tests__/e2e/index.test.ts
+ run: |
+ npx jest --openHandlesTimeout=60000 --watchAll=false -- src/__tests__/e2e/index.test.ts
working-directory: ./apps/api
-
-
-
+ - name: Kill background processes
+ if: always()
+ run: |
+ kill $(jobs -p)
+ working-directory: ./apps/api
\ No newline at end of file