fix: mount /apps and docker socket in PR workflow build-and-deploy-ci job #41

Merged
david merged 33 commits from fix/switch-to-npm-ci into main 2026-05-20 19:51:36 +00:00
Showing only changes of commit f34dc23661 - Show all commits
+2 -2
View File
@@ -83,6 +83,8 @@ jobs:
- name: Wait for CI site to be ready - name: Wait for CI site to be ready
run: | run: |
echo "Waiting for Next.js to start..."
sleep 20
for i in {1..6}; do for i in {1..6}; do
if curl -sf https://euchre-ci.notsosm.art/api/health > /dev/null 2>&1; then if curl -sf https://euchre-ci.notsosm.art/api/health > /dev/null 2>&1; then
echo "CI site is healthy" echo "CI site is healthy"
@@ -93,8 +95,6 @@ jobs:
echo "CI site failed to become healthy after 90 seconds" echo "CI site failed to become healthy after 90 seconds"
docker compose -f /apps/euchre_camp_ci/docker-compose.yml logs app docker compose -f /apps/euchre_camp_ci/docker-compose.yml logs app
exit 1 exit 1
docker compose -f /apps/euchre_camp_ci/docker-compose.yml logs app
exit 1
- name: Run acceptance tests - name: Run acceptance tests
run: DATABASE_URL="${{ secrets.CI_DATABASE_URL }}" npx playwright test e2e/ run: DATABASE_URL="${{ secrets.CI_DATABASE_URL }}" npx playwright test e2e/