Add frontend build job to PR workflow#1099
Merged
Merged
Conversation
Agent-Logs-Url: https://github.com/IntelliTect/EssentialCSharp.Web/sessions/fbba773e-6096-4a94-bbee-7b81246100f1 Co-authored-by: BenjaminMichaelis <22186029+BenjaminMichaelis@users.noreply.github.com>
Agent-Logs-Url: https://github.com/IntelliTect/EssentialCSharp.Web/sessions/fbba773e-6096-4a94-bbee-7b81246100f1 Co-authored-by: BenjaminMichaelis <22186029+BenjaminMichaelis@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
BenjaminMichaelis
May 13, 2026 13:20
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a dedicated frontend-build job to the PR CI workflow so npm/Vite build failures are surfaced during PR validation (intended to mirror the Dockerfile’s frontend build stage).
Changes:
- Add
frontend-buildjob that checks out code, sets up Node.js, caches npm deps, runsnpm ci, and runsnpm run buildunderEssentialCSharp.Web/.
Agent-Logs-Url: https://github.com/IntelliTect/EssentialCSharp.Web/sessions/2700a888-9644-4b61-91b0-5a23e223672e Co-authored-by: BenjaminMichaelis <22186029+BenjaminMichaelis@users.noreply.github.com>
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
Adds a
frontend-buildjob to the PR Build and Test workflow (.github/workflows/PR-Build-And-Test.yml) so that npm package and Vite build issues are caught on every PR before they reach the full build/deploy pipeline.Changes
frontend-buildjob that:node:26-bookworm-slim)package-lock.jsonnpm ciinEssentialCSharp.Web/npm run build(Vite build) inEssentialCSharp.Web/This mirrors the
frontend-buildstage in the Dockerfile exactly, ensuring PRs are validated against the same build path used in production.