Skip to content

Commit

Permalink
fix: get container logs on console in e2es
Browse files Browse the repository at this point in the history
  • Loading branch information
JSPRH committed Feb 16, 2024
1 parent 9f0a08a commit f0224c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ jobs:
run: ./tools/db/kordis-db.sh init e2edb
- name: Start API and SPA containers
run: |
docker run -d -p 3000:3333 -e MONGODB_URI=mongodb://host.docker.internal:27017/e2edb kordis-api:${{ github.sha }}
docker run -d -p 4200:8080 -e API_URL=http://localhost:3000 -e AUTH_PROVIDER=dev kordis-spa:${{ github.sha }}
docker run -p 3000:3333 -e MONGODB_URI=mongodb://host.docker.internal:27017/e2edb kordis-api:${{ github.sha }} &
docker run -p 4200:8080 -e API_URL=http://localhost:3000 -e AUTH_PROVIDER=dev kordis-spa:${{ github.sha }} &
- name: Run E2Es
run: npx wait-on -t 30s tcp:3000 && npx wait-on -t 30s http://localhost:4200 && npx nx e2e spa-e2e --skipInstall
env:
Expand Down

0 comments on commit f0224c8

Please sign in to comment.