ci(mobile): run lint and tests

This commit is contained in:
Saravana Achu Mac 2026-05-05 13:25:30 -07:00
parent e8ce73ef70
commit 150f824a2a

View File

@ -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