Skip to content

[Sprint 2][A] Add mobile checks to CI (lint, tsc, prettier) #37

Done

Description

@DarynaBb

Role A (Client)

CI currently runs only the backend job, so nothing checks mobile/ on pull requests. Problems pile up unnoticed: main already has 5 TypeScript errors, and #36 adds code that fails prettier --check.

Tasks

  • Add a mobile job to .github/workflows/ci.yml (Node + npm cache, working-directory: mobile, npm ci)
  • Run npm run lint
  • Run npx tsc --noEmit
  • Run npm run format:check
  • Fix the existing TypeScript errors on main so the job starts green:
    • src/app/(tabs)/_layout.tsx lines 21, 30, 57, 66: ColorValue is not assignable to string | NativeColorValue | undefined
    • src/app/(tabs)/_layout.tsx line 48: "/scan" is not a known route. The committed .expo/types/router.d.ts is stale and has no /scan.
  • Remove the tracked mobile/.expo/ files from git (git rm -r --cached mobile/.expo). The folder is already in .gitignore. The typed routes then need to be generated in CI before tsc, or come from a file that is kept up to date.

Done: Every pull request runs lint, typecheck and format check for mobile/, and the job passes on main.

Activity

  1. added
    soll
    app
    muss
    and removed
    soll
    on Nov 21, 2026
  2. self-assigned this
    on Nov 24, 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