Add frontend existence checks to CI and build workflows#61
Merged
javidahmed64592 merged 1 commit intomainfrom Mar 7, 2026
Merged
Add frontend existence checks to CI and build workflows#61javidahmed64592 merged 1 commit intomainfrom
javidahmed64592 merged 1 commit intomainfrom
Conversation
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.
This pull request improves how the workflows check for the existence of the frontend directory, making the logic more robust and consistent across local and remote repositories. The main changes involve updating the custom action to expose an output and modifying the workflow steps to combine the results from local and remote checks.
Enhancements to frontend existence checks in workflows:
Action improvements
.github/actions/setup/check-frontend-exists/action.yml: Added anexistsoutput to the action, allowing workflows to determine if the frontend directory is present.Workflow logic updates
.github/workflows/build.yml: Assigned IDs to both local and remote frontend existence checks, and added a new step to combine their outputs into a unifiedexistsvalue for subsequent steps..github/workflows/ci.yml: Mirrored the changes inbuild.ymlby assigning IDs and combining the outputs for the CI workflow, ensuring consistent handling of frontend checks.