Skip to content

Build Playground PR preview artifacts#3703

Draft
adamziel wants to merge 1 commit into
trunkfrom
adamziel/pr-preview-build-workflow
Draft

Build Playground PR preview artifacts#3703
adamziel wants to merge 1 commit into
trunkfrom
adamziel/pr-preview-build-workflow

Conversation

@adamziel
Copy link
Copy Markdown
Collaborator

What changed

Adds a manual GitHub Actions workflow for building WordPress Playground PR preview artifacts.

The workflow:

  • accepts a PR number via workflow_dispatch
  • resolves the PR head repository and SHA
  • checks out that exact head SHA without deploy credentials
  • builds playground-website
  • uploads dist/packages/playground/wasm-wordpress-net as playground-pr-preview-<pr>-<sha>

Why

This is the CI prerequisite for artifact-backed Playground PR previews. It lets maintainers produce a build artifact for a PR without deploying any PR files to playground.wordpress.net.

Testing

  • Workflow syntax reviewed locally
  • Split from the larger artifact-backed PR preview implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant