Fix GitHub Actions workflow and Markdown formatting
This commit is contained in:
14
.github/workflows/wordpress-tests.yml
vendored
14
.github/workflows/wordpress-tests.yml
vendored
@@ -23,8 +23,11 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Install wp-env
|
||||
run: npm install -g @wordpress/env
|
||||
- name: Install wp-env and docker-compose
|
||||
run: |
|
||||
npm install -g @wordpress/env
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y docker-compose
|
||||
|
||||
- name: Setup WordPress Single Site
|
||||
run: |
|
||||
@@ -53,8 +56,11 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Install wp-env
|
||||
run: npm install -g @wordpress/env
|
||||
- name: Install wp-env and docker-compose
|
||||
run: |
|
||||
npm install -g @wordpress/env
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y docker-compose
|
||||
|
||||
- name: Setup WordPress Multisite
|
||||
run: |
|
||||
|
||||
@@ -34,6 +34,7 @@ We use `@wordpress/env` and Cypress for testing our plugin.
|
||||
## Testing in Single Site WordPress
|
||||
|
||||
1. Set up the single site environment:
|
||||
|
||||
```bash
|
||||
npm run setup:single
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user