forked from pingdotgg/t3code
-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (52 loc) · 1.47 KB
/
Copy pathswift-ios.yml
File metadata and controls
58 lines (52 loc) · 1.47 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
56
57
58
name: SwiftUI iOS
on:
pull_request:
paths:
- "apps/swift-ios/**"
- "packages/contracts/**"
- "scripts/generate-swift-wire-fixtures.ts"
- "scripts/package.json"
- ".github/workflows/swift-ios.yml"
- "package.json"
- "pnpm-lock.yaml"
- "pnpm-workspace.yaml"
push:
branches:
- main
paths:
- "apps/swift-ios/**"
- "packages/contracts/**"
- "scripts/generate-swift-wire-fixtures.ts"
- "scripts/package.json"
- ".github/workflows/swift-ios.yml"
- "package.json"
- "pnpm-lock.yaml"
- "pnpm-workspace.yaml"
concurrency:
group: swift-ios-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
test:
name: Contract fixtures and native tests
runs-on: blacksmith-6vcpu-macos-26
timeout-minutes: 25
steps:
- name: Checkout
uses: actions/checkout@v6
with:
sparse-checkout: |
/*
!/.repos/
sparse-checkout-cone-mode: false
- name: Setup Vite+
uses: voidzero-dev/setup-vp@v1
with:
node-version-file: package.json
cache: true
run-install: |
args:
- --filter=@t3tools/scripts...
- name: Verify generated wire fixtures
run: node scripts/generate-swift-wire-fixtures.ts --check
- name: Test SwiftUI client
run: apps/swift-ios/Scripts/ci-test.sh