Skip to content

[Sprint 2][A] Check Expo config in mobile CI #51

Todo

Description

@DarynaBb

Role A (Client)

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)
  • Check that the job passes on main
  • Once merged, re-run CI on feat(app): add full screen camera with gallery and file picker #36. It should fail until the datetimepicker line is removed.

Done: Every pull request fails CI if the Expo config or one of its plugins cannot be resolved, and the job passes on main.

Activity

  1. added
    muss
    app
    on Nov 25, 2026
  2. self-assigned this
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

appmuss

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions