0

fixing workflow

This commit is contained in:
rafaelsideguide 2024-04-18 17:29:06 -03:00
parent 3f833737f3
commit ca8c8b87dc

View File

@ -47,12 +47,17 @@ jobs:
- name: Start the application - name: Start the application
run: npm start & run: npm start &
working-directory: ./apps/api working-directory: ./apps/api
id: start_app
- name: Start workers - name: Start workers
run: npm run workers & run: npm run workers &
working-directory: ./apps/api working-directory: ./apps/api
id: start_workers
- name: Run E2E tests - 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 working-directory: ./apps/api