Add Hello Dolly and WP_DEBUG to WordPress Playground, update documentation and fix GitHub Actions

This commit is contained in:
2025-04-22 01:56:12 +01:00
parent 35d7623722
commit 1089ea491a
9 changed files with 2079 additions and 16 deletions

View File

@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20]
node-version: [18.18, 20]
steps:
- uses: actions/checkout@v4
@@ -66,11 +66,11 @@ jobs:
run: |
# Start WordPress Playground with our blueprint
wp-playground start --blueprint playground/blueprint.json --port 8888 &
# Wait for WordPress Playground to be ready
echo "Waiting for WordPress Playground to be ready..."
timeout 60 bash -c 'until curl -s http://localhost:8888; do sleep 2; done'
# Run Cypress tests against WordPress Playground
npm run test:single:headless

View File

@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20]
node-version: [18.18, 20]
steps:
- uses: actions/checkout@v4