name: Mobile CI on: push: branches: [main, develop] paths: - "mobile/**" - "shared/**" - ".github/workflows/mobile-ci.yml" pull_request: paths: - "mobile/**" - "shared/**" jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set up Node.js 20 uses: actions/setup-node@v4 with: node-version: "20" cache: "yarn" cache-dependency-path: yarn.lock - name: Install dependencies run: yarn install --frozen-lockfile - name: Type check shared run: yarn workspace @cloud-reader/shared typecheck - name: Build shared run: yarn workspace @cloud-reader/shared build - name: Type check mobile run: yarn workspace @cloud-reader/mobile typecheck