Skip to content

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

feat(ci): upload logs

Gergő Móricz0eff99007aa1
diff --git a/.github/workflows/test-server-self-host.yml b/.github/workflows/test-server-self-host.yml
index 372c43408..8f7a06d0a 100644
--- a/.github/workflows/test-server-self-host.yml
+++ b/.github/workflows/test-server-self-host.yml
@@ -29,14 +29,23 @@ jobs:
run: pnpm install
working-directory: ./apps/api
- name: Start the application
- run: npm start &
+ run: npm start > api.log 2>&1 &
working-directory: ./apps/api
id: start_app
- name: Start workers
- run: npm run workers &
+ run: npm run workers > worker.log 2>&1 &
working-directory: ./apps/api
id: start_workers
- name: Run snippet tests
run: |
npm run test:snips
working-directory: ./apps/api
+ continue-on-error: true
+ - name: Kill instances
+ run: pkill -9 node
+ - uses: actions/upload-artifact@v4
+ with:
+ name: Logs
+ path: |
+ ./apps/api/api.log
+ ./apps/api/worker.log