Skip to content

Commit 25e1edc

Browse files
committed
wp-env fixes
1 parent 2cc2aaf commit 25e1edc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/playwright.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ jobs:
5656

5757
- name: Start WordPress environment
5858
run: |
59-
npm run wp-env:start
59+
npx wp-env start
6060
6161
- name: Setup test data
62-
run: npm run test:setup:playwright
62+
run: npx wp-env run cli wp plugin activate code-snippets
6363

6464
- name: WordPress debug information
6565
run: |
66-
wp-env run cli wp core version
67-
wp-env run cli wp --info
66+
npx wp-env run cli wp core version
67+
npx wp-env run cli wp --info
6868
6969
- name: Install playwright/test
7070
run: |
@@ -75,7 +75,7 @@ jobs:
7575

7676
- name: Stop WordPress environment
7777
if: always()
78-
run: npm run wp-env:stop
78+
run: npx wp-env stop
7979

8080
- uses: actions/upload-artifact@v4
8181
if: always()

0 commit comments

Comments
 (0)