Skip to content

Commit c178828

Browse files
committed
debug build contents
1 parent 43b1590 commit c178828

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

.github/workflows/playwright.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ jobs:
4343
node-version: 20.x
4444
cache: 'npm'
4545

46-
- name: Install dependencies
47-
run: |
48-
npm run prepare-environment:ci
49-
cd src && composer install
50-
5146
- name: Download build artifact
5247
uses: actions/download-artifact@v4
5348
with:
@@ -59,6 +54,23 @@ jobs:
5954
rm -rf ./src
6055
cp -r ./build/code-snippets ./src
6156
57+
- name: Verify build contents
58+
run: |
59+
echo "=== Verifying build artifact structure ==="
60+
echo "Main plugin file:"
61+
ls -la ./src/code-snippets.php || echo "❌ No main plugin file found"
62+
echo ""
63+
echo "Compiled JavaScript:"
64+
ls -la ./src/dist/ || echo "❌ No dist directory found"
65+
echo ""
66+
echo "Assets:"
67+
ls -la ./src/assets/ || echo "❌ No assets directory found"
68+
echo ""
69+
echo "PHP files:"
70+
ls -la ./src/php/ || echo "❌ No php directory found"
71+
echo ""
72+
echo "=== wp-env will map ./src to wp-content/plugins/code-snippets ==="
73+
6274
- name: Start WordPress environment
6375
run: |
6476
npx wp-env start

0 commit comments

Comments
 (0)