You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The static assets check workflow only builds the dev version of the webpack assets and as such does not test that the production webpack config will build properly. This is partly due to the fact that the assets paver commands make it difficult to test the production webpack build without configuring a more production like edx-platform python settings.
This switches the static asset check over from the deprecated
paver commands to the new 'npm run build' command. Doing so allows us
to check both the prod AND dev build, whereas before we were only
checking the prod build.
Please note that, as before, the "check" is only ensuring that the build
returns 0. It is not checking the contents of the build output.
Closes: openedx#34834
This switches the static asset check over from the deprecated
paver commands to the new 'npm run build' command. Doing so allows us
to check both the prod AND dev build, whereas before we were only
checking the prod build.
Please note that, as before, the "check" is only ensuring that the build
returns 0. It is not checking the contents of the build output.
Closes: #34834
Context
The static assets check workflow only builds the dev version of the webpack assets and as such does not test that the production webpack config will build properly. This is partly due to the fact that the assets paver commands make it difficult to test the production webpack build without configuring a more production like edx-platform python settings.
Furthermore, the paver commands are deprecated and alternatives already exist which make it easier to build either the dev or production webpack assets.
Acceptance Criteria
The text was updated successfully, but these errors were encountered: