Skip to content

Commit cfc128f

Browse files
authored
Add WordPress environment setup to CI workflow
1 parent b740cb7 commit cfc128f

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,13 @@ jobs:
4242
steps:
4343
- uses: actions/checkout@v4
4444

45+
- name: Setup WP Env
46+
run: npm install -g @wordpress/env
47+
48+
- name: Start WP Env
49+
run: wp-env start
50+
4551
- name: Run Plugin Check
46-
47-
- run: npm install -g @wordpress/env
48-
49-
- run: wp-env start
50-
5152
uses: wordpress/plugin-check-action@v1.1.6
5253
with:
5354
wp-version: "latest"

0 commit comments

Comments
 (0)