WordPress / wordpress-playground

Run WordPress in the browser via WebAssembly PHP
https://w.org/playground/
GNU General Public License v2.0
1.64k stars 255 forks source link

Pull Request previewer for all WordPress projects #696

Open adamziel opened 1 year ago

adamziel commented 1 year ago

Previewing WordPress Pull Requests requires either a local development setup or a staging setup.

WordPress developers often use either a staging environment that can only run a single branch at a time, or no staging environment at all. This makes testing and team workflows difficult.

Providing an easy way to preview pull requests using Playground would alleviate that burden, catalyze more reviews across the ecosystem, and make calls for testing easier.

For example, a Playground link was used in "Help test the Font Library" post. cc @ironprogrammer

adamziel commented 1 year ago

Here's the repo WooCommerce uses for Playground-based previews:

https://github.com/woocommerce/woo-pr-previewer/

adamziel commented 12 months ago

Related: https://meta.trac.wordpress.org/ticket/7309

adamziel commented 1 month ago

Related reusable GitHub action from @vcanales: https://github.com/vcanales/action-wp-playground-pr-preview

An example of integrating it:

https://github.com/vcanales/twentytwentyfive/pull/2

cc @juanmaguitar

vcanales commented 1 month ago

An example of integrating it:

I would point to this PR for the usage of the Workflow: https://github.com/WordPress/twentytwentyfive/pull/359