File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -899,6 +899,33 @@ jobs:
899899 - name : Install PostHog CLI
900900 run : npm install -g @posthog/cli
901901
902+ - name : Verify artifact structure
903+ run : |
904+ echo "=== Current directory structure ==="
905+ find . -maxdepth 1 -type f -o -type d | head -20
906+ echo "=== Checking for dist directory ==="
907+ if [ -d "dist" ]; then
908+ echo "✅ dist directory found"
909+ find dist -maxdepth 2 -type f -o -type d | head -20
910+ if [ -d "dist/apps" ]; then
911+ echo "✅ dist/apps directory found"
912+ find dist/apps -maxdepth 1 -type d
913+ if [ -d "dist/apps/web" ]; then
914+ echo "✅ dist/apps/web directory found"
915+ find dist/apps/web -maxdepth 1 -type f | head -10
916+ else
917+ echo "❌ dist/apps/web directory NOT found"
918+ exit 1
919+ fi
920+ else
921+ echo "❌ dist/apps directory NOT found"
922+ exit 1
923+ fi
924+ else
925+ echo "❌ dist directory NOT found"
926+ exit 1
927+ fi
928+
902929 - name : Inject source map metadata
903930 run : posthog-cli --host https://eu.posthog.com sourcemap inject --version ${{ github.sha }} --directory ./dist/apps/web
904931 env :
You can’t perform that action at this time.
0 commit comments