Skip to content

Commit cfad0ed

Browse files
committed
update tests
1 parent 520c0eb commit cfad0ed

File tree

1 file changed

+28
-7
lines changed

1 file changed

+28
-7
lines changed

.github/workflows/playwright.yml

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ jobs:
2525
- name: 💻 Node setup
2626
uses: ./.github/actions/node-setup
2727

28+
- name: ♻️ Restore Turbo Cache
29+
uses: actions/cache@v4
30+
with:
31+
path: .turbo
32+
key: turbo-${{ github.ref }}-${{ github.sha }}
33+
restore-keys: |
34+
turbo-${{ github.ref }}-
35+
turbo-
36+
2837
- name: 🎭 E2E Setup
2938
uses: ./.github/actions/e2e-setup
3039
with:
@@ -34,14 +43,26 @@ jobs:
3443
run: pnpm --filter @infinum/frontend build
3544
shell: bash
3645

37-
- name: Debug Build Output
46+
- name: 🔍 Debug Build Output
3847
run: |
39-
echo "Checking build output structure:"
40-
ls -la apps/frontend/.next/
41-
echo "Checking for standalone directory:"
42-
ls -la apps/frontend/.next/standalone/ || echo "No standalone directory found"
43-
echo "Checking for server.js:"
44-
find apps/frontend/.next -name "server.js" -type f || echo "No server.js found"
48+
echo "📂 Current working directory:"
49+
pwd
50+
echo ""
51+
echo "📁 Contents of apps/frontend:"
52+
ls -la apps/frontend/ | head -10
53+
echo ""
54+
echo "🏗️ Contents of apps/frontend/.next:"
55+
ls -la apps/frontend/.next/ || echo "❌ No .next directory found"
56+
echo ""
57+
echo "📦 Checking for standalone server:"
58+
if [ -f "apps/frontend/.next/standalone/apps/frontend/server.js" ]; then
59+
echo "✅ Found: apps/frontend/.next/standalone/apps/frontend/server.js"
60+
else
61+
echo "❌ NOT found: apps/frontend/.next/standalone/apps/frontend/server.js"
62+
fi
63+
echo ""
64+
echo "🔎 Looking for any server.js files:"
65+
find apps/frontend/.next -name "server.js" -type f 2>/dev/null || echo "❌ No server.js files found"
4566
shell: bash
4667

4768
- name: 🚀 Start Frontend App (Background)

0 commit comments

Comments
 (0)