File tree Expand file tree Collapse file tree 2 files changed +14
-7
lines changed
Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 8787 node-version : " 22"
8888 cache : " npm"
8989
90- - name : Install dependencies
91- run : npm install
90+ - name : Setup pnpm
91+ uses : pnpm/action-setup@v3
92+ with :
93+ version : 10 # Min version required by the repo
9294
9395 - name : Setup PHP with Cached Composer
9496 uses : ./.github/actions/setup-php-composer
@@ -98,18 +100,18 @@ jobs:
98100 composer-options : ' --no-progress --optimize-autoloader --no-dev'
99101
100102 - name : Install playwright browsers
101- run : npx playwright install --with-deps
103+ run : pnpm playwright install --with-deps
102104 working-directory : plugins/${{ env.PLUGIN }}
103105
104106 - name : Start wp-env
105107 run : |
106- npm run wp-env start
108+ pnpm run wp-env start
107109 working-directory : plugins/${{ env.PLUGIN }}
108110
109111 - name : Run Playwright tests
110- run : npm run test:e2e
112+ run : pnpm run test:e2e
111113 working-directory : plugins/${{ env.PLUGIN }}
112114
113115 - name : Stop wp-env
114- run : npm run wp-env stop
116+ run : pnpm run wp-env stop
115117 working-directory : plugins/${{ env.PLUGIN }}
Original file line number Diff line number Diff line change 1010 "wp-env" : " wp-env" ,
1111 "version" : " ./bin/sync-package-version.sh"
1212 },
13- "keywords" : [],
13+ "keywords" : [
14+ " wordpress" ,
15+ " headless" ,
16+ " previews" ,
17+ " plugin"
18+ ],
1419 "author" : " wpengine" ,
1520 "license" : " GPL-2.0" ,
1621 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments