[ruff] Split WASM build and publish into separate workflows (#12387)#22476
Merged
MichaReiser merged 2 commits intoastral-sh:mainfrom Jan 9, 2026
Merged
Conversation
…h#12387) - Create `build-wasm.yml` for building WASM artifacts - Triggers on `workflow_call` and `pull_request` - Builds for web, bundler, and nodejs targets using matrix - Uploads artifacts via `actions/upload-artifact` - Modify `publish-wasm.yml` to only handle publishing - Remove build steps - Download pre-built artifacts via `actions/download-artifact` - Update `release.yml` to call build-wasm before host job - Add `custom-build-wasm` job after plan - Update job dependencies accordingly This follows the same pattern as build-binaries.yml and release.yml, separating concerns and enabling artifact reuse.
MichaReiser
reviewed
Jan 9, 2026
Member
|
This is great. It will make our release workflows much faster. Thank you Hmm, I don't think that I can trigger the release workflow from your branch. Do you know if you can trigger it on your fork? |
Member
|
Let's give this a try |
Member
Member
|
Looks like we'll only find out when doing our next release |
This was referenced Feb 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Issue:#12387
This PR splits the WASM workflow into separate build and publish workflows, following the same pattern used for binaries (
build-binaries.ymlandrelease.yml).Changes
New file:
.github/workflows/build-wasm.ymlworkflow_callandpull_requestweb,bundler,nodejs(matrix strategy)actions/upload-artifactModified:
.github/workflows/publish-wasm.ymlactions/download-artifactto fetch pre-built artifactsModified:
.github/workflows/release.ymlcustom-build-wasmjob that runs afterplanbuild-global-artifactsto depend oncustom-build-wasmTest Plan
Automated Tests (triggered by this PR)
Build wasmworkflow is triggered viapull_requestartifacts-wasm-*) are uploaded for each targetManual Verification (after merge)
Releaseworkflow viaworkflow_dispatchwithdry-runtagcustom-build-wasmjob runs afterplanbuild-global-artifactswaits forcustom-build-wasmcompletioncustom-publish-wasmdownloads artifacts and runsnpm publish --dry-runLocal Validation (completed)
pre-commit run check-github-workflows -a- Passedpre-commit run actionlint -a --hook-stage=manual- Passedpre-commit run prettier -a- Passed