mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-11 20:58:59 +08:00
feat(ci): upload logs
This commit is contained in:
parent
9976560567
commit
0eff99007a
13
.github/workflows/test-server-self-host.yml
vendored
13
.github/workflows/test-server-self-host.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user