File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -278,6 +278,27 @@ jobs:
278278 fi
279279 }
280280
281+ - name : Verify build artifacts before upload
282+ run : |
283+ echo "=== Verifying build artifacts before upload ==="
284+ if [ ! -d "dist" ]; then
285+ echo "❌ dist directory not found"
286+ exit 1
287+ fi
288+ echo "✅ dist directory found"
289+ find dist -maxdepth 2 -type f -o -type d | head -20
290+ if [ ! -d "dist/apps" ]; then
291+ echo "❌ dist/apps directory not found"
292+ exit 1
293+ fi
294+ echo "✅ dist/apps directory found"
295+ if [ ! -d "dist/apps/web" ]; then
296+ echo "❌ dist/apps/web directory not found"
297+ exit 1
298+ fi
299+ echo "✅ dist/apps/web directory found"
300+ echo "=== Build artifacts verified successfully ==="
301+
281302 - name : Upload build artifacts
282303 uses : actions/upload-artifact@v5
283304 with :
You can’t perform that action at this time.
0 commit comments