Fixed typing on PixelfedBottomSheetModal #43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: iOS build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- name: π Setup repo | |
uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: π Enable corepack | |
run: corepack enable | |
- name: π Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: β Restore build cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
node_modules | |
ios | |
key: build-ios-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
build-ios-${{ runner.os }}- | |
- name: π¦ Install dependencies | |
run: npm install | |
- name: π Build app | |
run: | | |
sudo xcode-select --switch /Applications/Xcode_16.1.app/Contents/Developer | |
npx expo prebuild --platform ios | |
cd ios | |
set -o pipefail && xcodebuild -workspace pixelfed.xcworkspace -scheme Pixelfed -destination "platform=iOS Simulator,name=iPhone SE (3rd generation)" | xcbeautify --renderer github-actions | |