chore: add build:ci smoke test to verify webpack build#109
Merged
arbrandes merged 1 commit intoopenedx:frontend-basefrom Apr 23, 2026
Merged
chore: add build:ci smoke test to verify webpack build#109arbrandes merged 1 commit intoopenedx:frontend-basefrom
arbrandes merged 1 commit intoopenedx:frontend-basefrom
Conversation
4d808bb to
35fc7a0
Compare
Adds an npm run build:ci script that exercises the real app graph through webpack, and wires it into the CI workflow after the existing build step. Co-Authored-By: Claude <noreply@anthropic.com>
brian-smith-tcril
approved these changes
Apr 23, 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
Apps are distributed build-less, so
npm run buildonly compiles the librarydist/viatscand nothing in CI verifies that the app can actually be webpack-bundled as a deployable site. This PR adds annpm run build:ciscript that exercises the real app graph through webpack, and wires it into the CI workflow after the existing build step.Refs openedx/frontend-base#124.
Verifying the check
Introduce a typo in an import somewhere in
src/that is reached from the app's route/component graph (for example, rename a file import to a path that doesn't exist).npm run buildstill passes, butnpm run build:cifails with a module resolution error. Revert the typo and the build goes green again.LLM usage notice
Built with assistance from Claude.