Skip to content

Commit

Permalink
ci: make e2e run wait on correctly served api
Browse files Browse the repository at this point in the history
  • Loading branch information
timonmasberg authored and JSPRH committed Feb 21, 2024
1 parent de1ec91 commit 122fa39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
docker run -d --name kordis-spa-container -p 4200:8080 -e API_URL=http://localhost:3000 -e AUTH_PROVIDER=dev kordis-spa:${{ github.sha }}
- name: Run E2Es
id: e2e-tests
run: npx wait-on -t 30s tcp:3000 && npx wait-on -t 30s http://localhost:4200 && npx nx e2e spa-e2e --skipInstall
run: npx wait-on -t 30s http://localhost:3000/health-check && npx wait-on -t 30s http://localhost:4200 && npx nx e2e spa-e2e --skipInstall
env:
E2E_BASE_URL: http://localhost:4200/
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 122fa39

Please sign in to comment.