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 mobile CI job runs lint, typecheck and format check, but nothing checks app.json. A broken Expo config passes CI unnoticed.
Example from #36: app.json lists "@react-native-community/datetimepicker" as a config plugin, but the package is not in package.json. CI is green, yet npx expo config fails with:
PluginError: Failed to resolve plugin for module "@react-native-community/datetimepicker" ... Do you have node modules installed?
So expo start, dev builds and EAS builds break.
npx expo config --type prebuild resolves app.json together with all config plugins and exits with an error if a plugin cannot be loaded. It takes under a second and needs no network. Tested: it passes on main and fails when the line from #36 is added.
Tasks
Add npx expo config --type prebuild > /dev/null to the mobile job in .github/workflows/ci.yml, after npm run format:check (output goes to /dev/null so the log stays short, errors are still shown)
Activity