ci(mobile): run lint and tests
This commit is contained in:
parent
e8ce73ef70
commit
150f824a2a
26
.github/workflows/ci.yml
vendored
26
.github/workflows/ci.yml
vendored
@ -24,6 +24,11 @@ jobs:
|
|||||||
path: learning_ai_common_plat
|
path: learning_ai_common_plat
|
||||||
token: ${{ secrets.GH_PAT }}
|
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
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 22
|
||||||
@ -70,6 +75,11 @@ jobs:
|
|||||||
path: learning_ai_common_plat
|
path: learning_ai_common_plat
|
||||||
token: ${{ secrets.GH_PAT }}
|
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
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 22
|
||||||
@ -101,7 +111,7 @@ jobs:
|
|||||||
run: pnpm --filter @notelett/web run build
|
run: pnpm --filter @notelett/web run build
|
||||||
|
|
||||||
mobile:
|
mobile:
|
||||||
name: Mobile — typecheck
|
name: Mobile — lint + typecheck + test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -113,6 +123,11 @@ jobs:
|
|||||||
path: learning_ai_common_plat
|
path: learning_ai_common_plat
|
||||||
token: ${{ secrets.GH_PAT }}
|
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
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 22
|
||||||
@ -131,4 +146,11 @@ jobs:
|
|||||||
- name: Install workspace dependencies
|
- name: Install workspace dependencies
|
||||||
run: pnpm install --frozen-lockfile
|
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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user