Skip to content

Commit 0623f04

Browse files
committed
add .wp-env.json
1 parent d63fe72 commit 0623f04

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/playwright.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,15 @@ jobs:
1515
node-version: lts/*
1616
- name: Install dependencies
1717
run: |
18-
npm ci
18+
npm ci --legacy-peer-deps
1919
npm run build:no-translate
20-
- name: Install wp-env
21-
run: |
22-
npm install -g @wordpress/env
20+
- name: Install wp-env
21+
run: |
22+
npm install -g @wordpress/env
2323
- name: Start wp-env
2424
run: wp-env start
2525
- name: Run playwright tests
2626
run: npm run test
27-
- name: Stop wp-env
28-
run: wp-env stop
2927
- uses: actions/upload-artifact@v4
3028
if: ${{ !cancelled() }}
3129
with:

.wp-env.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"core": "WordPress/WordPress",
3+
"plugins": [ "." ]
4+
}

0 commit comments

Comments
 (0)