-
Notifications
You must be signed in to change notification settings - Fork 292
43 lines (39 loc) · 1.06 KB
/
test-mobile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: "[Test] Mobile App"
on:
push:
branches:
- main
- develop
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-mobile-app:
name: "Ledger Live Mobile Tests"
env:
NODE_OPTIONS: "--max-old-space-size=7168"
FORCE_COLOR: 3
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.1.0
with:
version: latest
- uses: actions/setup-node@v3
with:
node-version: 16
cache: pnpm
cache-dependency-path: "**/pnpm-lock.yaml"
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- name: Bump npm to latest
run: npm i -g npm@8.12.2
- name: Install dependencies
run: pnpm i --filter="live-mobile..." --filter="ledger-live" --no-frozen-lockfile --unsafe-perm
- name: Run linter
run: pnpm lint --filter="live-mobile"
- name: Run code checkers
run: pnpm typecheck --filter="live-mobile"