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