Skip to content

Commit 3b965d2

Browse files
committed
Fixed pnpm install.
1 parent 3f0a1ae commit 3b965d2

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/e2e-test.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ jobs:
9191
with:
9292
version: 10 # Min version required by the repo
9393

94+
- name: Install pnpm
95+
run: pnpm install
96+
working-directory: plugins/${{ env.PLUGIN }}
97+
9498
- name: Setup PHP with Cached Composer
9599
uses: ./.github/actions/setup-php-composer
96100
with:
@@ -104,13 +108,13 @@ jobs:
104108

105109
- name: Start wp-env
106110
run: |
107-
pnpm run wp-env start
111+
pnpm wp-env start
108112
working-directory: plugins/${{ env.PLUGIN }}
109113

110114
- name: Run Playwright tests
111-
run: pnpm run test:e2e
115+
run: pnpm test:e2e
112116
working-directory: plugins/${{ env.PLUGIN }}
113117

114118
- name: Stop wp-env
115-
run: pnpm run wp-env stop
119+
run: pnpm wp-env stop
116120
working-directory: plugins/${{ env.PLUGIN }}

0 commit comments

Comments
 (0)