openfun / fun-richie-site-factory

🏭 Site factory to build France Université Numérique's web sites based on https://github.com/openfun/richie
GNU Affero General Public License v3.0
4 stars 2 forks source link

🩹️(funmooc) fix type issue that broke canary build #167

Closed jbpenrath closed 6 months ago

jbpenrath commented 6 months ago

The job to build canary image currently fails. https://app.circleci.com/pipelines/github/openfun/fun-richie-site-factory/561/workflows/d1a4c9ba-5bc6-404e-8b17-266121c142d1/jobs/14812

The next version of richie-education package rename Enrollment type into UnknownEnrollment. As we were using this type in an overridden module, tsc command raises an error and prevent the frontend to be built. In order to be able to build canary images without requiring to release a new version of Richie, we simply remove the use of the problematic type. As the impacted module is only reserved for development purpose, this workaround looks acceptable.