From 150f824a2aab359cbf200450f2287294e0dbb3ee Mon Sep 17 00:00:00 2001 From: Saravana Achu Mac Date: Tue, 5 May 2026 13:25:30 -0700 Subject: [PATCH] ci(mobile): run lint and tests --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 53fe52e..1c4f9d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,11 @@ jobs: path: learning_ai_common_plat token: ${{ secrets.GH_PAT }} + - name: Link common-platform workspace path + run: | + mkdir -p ../learning_ai + ln -sfn "$GITHUB_WORKSPACE/learning_ai_common_plat" ../learning_ai/learning_ai_common_plat + - uses: actions/setup-node@v4 with: node-version: 22 @@ -70,6 +75,11 @@ jobs: path: learning_ai_common_plat token: ${{ secrets.GH_PAT }} + - name: Link common-platform workspace path + run: | + mkdir -p ../learning_ai + ln -sfn "$GITHUB_WORKSPACE/learning_ai_common_plat" ../learning_ai/learning_ai_common_plat + - uses: actions/setup-node@v4 with: node-version: 22 @@ -101,7 +111,7 @@ jobs: run: pnpm --filter @notelett/web run build mobile: - name: Mobile — typecheck + name: Mobile — lint + typecheck + test runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -113,6 +123,11 @@ jobs: path: learning_ai_common_plat token: ${{ secrets.GH_PAT }} + - name: Link common-platform workspace path + run: | + mkdir -p ../learning_ai + ln -sfn "$GITHUB_WORKSPACE/learning_ai_common_plat" ../learning_ai/learning_ai_common_plat + - uses: actions/setup-node@v4 with: node-version: 22 @@ -131,4 +146,11 @@ jobs: - name: Install workspace dependencies run: pnpm install --frozen-lockfile - - run: pnpm --filter @notelett/mobile run typecheck + - name: Mobile lint + run: pnpm --filter @notelett/mobile run lint + + - name: Mobile typecheck + run: pnpm --filter @notelett/mobile run typecheck + + - name: Mobile tests + run: pnpm --filter @notelett/mobile run test