feat: add UI Build Artifacts Check workflow#1229
Open
agiannelli-auth0 wants to merge 5 commits into
Open
Conversation
mikemimik
previously approved these changes
May 21, 2026
mikemimik
approved these changes
May 21, 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.
Description
PRs that change
ui/src/oruniversal-components/src/sometimes land without the corresponding built artifacts inmain/ui/, because contributors aren't always aware thatcopy-build.shneeds to be run and committed.This adds a GitHub Actions workflow that fails the PR if source changes are detected without matching artifact updates, and prints the exact command to fix it.
What the check does:
ui/src/**changed butmain/ui/auth0-docs-ui-*didn't → failuniversal-components/src/**changed butmain/ui/universal-components/**didn't → fail::error::annotation with the command to run (cd ui && npm run copy:buildorcd universal-components && pnpm run copy:assets)In addition, build scripts (
copy-build.sh,build-all.sh) now automatically bump the patch version inpackage.jsonbefore each build, unless the version was already manually changed since the last commit — preventing accidental double-bumps when a contributor intentionally sets a minor or major version.References
Internal optimization
Testing
Checklist
CONTRIBUTING.md.