Skip to content

chore: add build:ci smoke test to verify webpack build#109

Merged
arbrandes merged 1 commit intoopenedx:frontend-basefrom
arbrandes:build-ci
Apr 23, 2026
Merged

chore: add build:ci smoke test to verify webpack build#109
arbrandes merged 1 commit intoopenedx:frontend-basefrom
arbrandes:build-ci

Conversation

@arbrandes
Copy link
Copy Markdown
Contributor

Description

Apps are distributed build-less, so npm run build only compiles the library dist/ via tsc and nothing in CI verifies that the app can actually be webpack-bundled as a deployable site. This PR 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.

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 build still passes, but npm run build:ci fails with a module resolution error. Revert the typo and the build goes green again.

LLM usage notice

Built with assistance from Claude.

@arbrandes arbrandes changed the base branch from main to frontend-base April 22, 2026 21:30
@arbrandes arbrandes changed the title ci: add build:ci smoke test to verify webpack build chore: add build:ci smoke test to verify webpack build Apr 22, 2026
@arbrandes arbrandes force-pushed the build-ci branch 5 times, most recently from 4d808bb to 35fc7a0 Compare April 22, 2026 22:04
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>
@arbrandes arbrandes merged commit 97ca175 into openedx:frontend-base Apr 23, 2026
4 checks passed
@arbrandes arbrandes deleted the build-ci branch April 23, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants