File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ jobs:
100100
101101 - name : Install Playwright browsers
102102 if : ${{ inputs.install-playwright }}
103- run : npx playwright install --with-deps
103+ run : npx playwright install --with-deps chromium
104104
105105 - name : Build WordPress
106106 run : npm run build
Original file line number Diff line number Diff line change @@ -227,9 +227,6 @@ jobs:
227227 - name : Deactivate WordPress Importer plugin
228228 run : npm run env:cli -- plugin deactivate wordpress-importer --path="/var/www/${LOCAL_DIR}"
229229
230- - name : Update permalink structure
231- run : npm run env:cli -- rewrite structure '/%year%/%monthnum%/%postname%/' --path="/var/www/${LOCAL_DIR}"
232-
233230 - name : Install additional languages
234231 run : |
235232 npm run env:cli -- language core install de_DE --path="/var/www/${LOCAL_DIR}"
Original file line number Diff line number Diff line change @@ -203,9 +203,6 @@ jobs:
203203 - name : Deactivate WordPress Importer plugin
204204 run : npm run env:cli -- plugin deactivate wordpress-importer --path="/var/www/${LOCAL_DIR}"
205205
206- - name : Update permalink structure
207- run : npm run env:cli -- rewrite structure '/%year%/%monthnum%/%postname%/' --path="/var/www/${LOCAL_DIR}"
208-
209206 - name : Install additional languages
210207 run : |
211208 npm run env:cli -- language core install de_DE --path="/var/www/${LOCAL_DIR}"
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ wait_on( {
4646 wp_cli ( 'db reset --yes --defaults' ) ;
4747 const installCommand = process . env . LOCAL_MULTISITE === 'true' ? 'multisite-install' : 'install' ;
4848 wp_cli ( `core ${ installCommand } --title="WordPress Develop" --admin_user=admin --admin_password=password [email protected] --skip-email --url=http://localhost:${ process . env . LOCAL_PORT } ` ) ; 49+ wp_cli ( `rewrite structure '/%year%/%monthnum%/%postname%/'` ) ;
4950 } )
5051 . catch ( err => {
5152 console . error ( `Error: Unable to reset DB and install WordPress. Message: ${ err . message } ` ) ;
You can’t perform that action at this time.
0 commit comments