-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (44 loc) · 1.24 KB
/
Copy pathci.yml
File metadata and controls
55 lines (44 loc) · 1.24 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
name: Mobile CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
concurrency:
group: mobile-ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:
name: TypeScript, package boundary, and iOS build
runs-on: macos-latest
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Set up Node.js
uses: actions/setup-node@v7
with:
node-version: 22
cache: npm
- name: Install mobile dependencies
run: npm ci
- name: Verify installed core packages
run: npm run boundaries:check
- name: Reject high-severity production advisories
run: |
npm audit --omit=dev --audit-level=high
- name: Test and typecheck bridges
run: |
npm test
npm run typecheck
npm run upstream
- name: Build and sync iOS project
run: npm run sync
- name: Compile app and UI-test targets
run: >-
xcodebuild build-for-testing
-workspace ios/App/App.xcworkspace
-scheme AppCloudUITests
-configuration Debug
-destination 'generic/platform=iOS Simulator'
CODE_SIGNING_ALLOWED=NO