Skip to content

Commit e55ffa7

Browse files
committed
iOS CI
1 parent ceaf173 commit e55ffa7

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Test iOS build (paper)
2+
on:
3+
pull_request:
4+
paths:
5+
- '.github/workflows/ios-build.yml'
6+
- 'packages/react-native-gesture-handler/RNGestureHandler.podspec'
7+
- 'packages/react-native-gesture-handler/apple/**'
8+
- 'apps/BasicExample/ios/**'
9+
push:
10+
branches:
11+
- main
12+
workflow_dispatch:
13+
jobs:
14+
build:
15+
if: github.repository == 'software-mansion/react-native-gesture-handler'
16+
runs-on: macos-14
17+
env:
18+
WORKING_DIRECTORY: 'apps/ExpoExample'
19+
steps:
20+
- name: checkout
21+
uses: actions/checkout@v4
22+
- name: Use latest stable Xcode
23+
uses: maxim-lobanov/setup-xcode@v1
24+
with:
25+
xcode-version: '16.1'
26+
- name: Use Node.js 18
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: 18
30+
cache: 'yarn'
31+
- name: Install node dependencies
32+
working-directory: ${{ matrix.working-directory }}
33+
run: PAPER_ENABLED=1 yarn install --immutable
34+
- name: Build app
35+
working-directory: ${{ matrix.working-directory }}
36+
run: yarn ios

0 commit comments

Comments
 (0)