fixing workflow
This commit is contained in:
parent
3f833737f3
commit
ca8c8b87dc
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@ -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
|
working-directory: ./apps/api
|
||||||
|
- name: Kill background processes
|
||||||
|
if: always()
|
||||||
|
run: |
|
||||||
|
kill $(jobs -p)
|
||||||
|
working-directory: ./apps/api
|
Loading…
Reference in New Issue
Block a user