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
|
- 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: |
|
||||||
|
|||||||
@@ -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
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user