File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed
Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change 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 :
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
You can’t perform that action at this time.
0 commit comments