Fix GitHub Actions workflow and Markdown formatting

This commit is contained in:
2025-04-21 21:37:37 +01:00
parent 78c3d03030
commit 474a5d2753
2 changed files with 11 additions and 4 deletions

View File

@@ -23,8 +23,11 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci
- name: Install wp-env - name: Install wp-env and docker-compose
run: npm install -g @wordpress/env run: |
npm install -g @wordpress/env
sudo apt-get update
sudo apt-get install -y docker-compose
- name: Setup WordPress Single Site - name: Setup WordPress Single Site
run: | run: |
@@ -53,8 +56,11 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci
- name: Install wp-env - name: Install wp-env and docker-compose
run: npm install -g @wordpress/env run: |
npm install -g @wordpress/env
sudo apt-get update
sudo apt-get install -y docker-compose
- name: Setup WordPress Multisite - name: Setup WordPress Multisite
run: | run: |

View File

@@ -34,6 +34,7 @@ We use `@wordpress/env` and Cypress for testing our plugin.
## Testing in Single Site WordPress ## Testing in Single Site WordPress
1. Set up the single site environment: 1. Set up the single site environment:
```bash ```bash
npm run setup:single npm run setup:single
``` ```