Summary
The CI/CD workflows now support both notarization and audit trail packages, but this has introduced duplication that should be consolidated.
Areas to improve
shared-build-wasm.yml is parameterized but each consumer workflow still duplicates the full job definition (build + test) for each package — consider a matrix or reusable workflow pattern
build-and-test.yml has near-identical test-wasm-notarization and test-wasm-audit-trail jobs that differ only in paths, artifact names, and env var setup
wasm-publish.yml duplicates build/release job pairs per package — could use a matrix with include to reduce this
upload-docs.yml duplicates S3 upload steps per package
wasm-retag-npm.yml and wasm-publish.yml retag steps are copy-pasted per package
- Move package test/publish steps in
build-and-test.yml follow the same pattern and could be consolidated
Acceptance criteria
Summary
The CI/CD workflows now support both notarization and audit trail packages, but this has introduced duplication that should be consolidated.
Areas to improve
shared-build-wasm.ymlis parameterized but each consumer workflow still duplicates the full job definition (build + test) for each package — consider a matrix or reusable workflow patternbuild-and-test.ymlhas near-identicaltest-wasm-notarizationandtest-wasm-audit-trailjobs that differ only in paths, artifact names, and env var setupwasm-publish.ymlduplicates build/release job pairs per package — could use a matrix withincludeto reduce thisupload-docs.ymlduplicates S3 upload steps per packagewasm-retag-npm.ymlandwasm-publish.ymlretag steps are copy-pasted per packagebuild-and-test.ymlfollow the same pattern and could be consolidatedAcceptance criteria
packageselector in publish/retag workflows