File tree Expand file tree Collapse file tree 5 files changed +1670
-24816
lines changed Expand file tree Collapse file tree 5 files changed +1670
-24816
lines changed Original file line number Diff line number Diff line change @@ -85,10 +85,14 @@ jobs:
85
85
uses : actions/setup-node@v4
86
86
with :
87
87
node-version : " 22"
88
- cache : " npm"
89
88
90
- - name : Install dependencies
91
- run : npm install
89
+ - name : Setup pnpm
90
+ uses : pnpm/action-setup@v3
91
+ with :
92
+ version : 10 # Min version required by the repo
93
+
94
+ - name : Install pnpm
95
+ run : pnpm install
92
96
93
97
- name : Setup PHP with Cached Composer
94
98
uses : ./.github/actions/setup-php-composer
@@ -98,18 +102,18 @@ jobs:
98
102
composer-options : ' --no-progress --optimize-autoloader --no-dev'
99
103
100
104
- name : Install playwright browsers
101
- run : npx playwright install --with-deps
105
+ run : pnpm dlx playwright install --with-deps
102
106
working-directory : plugins/${{ env.PLUGIN }}
103
107
104
108
- name : Start wp-env
105
109
run : |
106
- npm run wp-env start
110
+ pnpm wp-env start
107
111
working-directory : plugins/${{ env.PLUGIN }}
108
112
109
113
- name : Run Playwright tests
110
- run : npm run test:e2e
114
+ run : pnpm test:e2e
111
115
working-directory : plugins/${{ env.PLUGIN }}
112
116
113
117
- name : Stop wp-env
114
- run : npm run wp-env stop
118
+ run : pnpm wp-env stop
115
119
working-directory : plugins/${{ env.PLUGIN }}
You can’t perform that action at this time.
0 commit comments