Skip to content

ios添加抽屉样式 #8

ios添加抽屉样式

ios添加抽屉样式 #8

Workflow file for this run

name: iOS CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
concurrency:
group: ios-ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
ios-ci:
runs-on: macos-15
timeout-minutes: 45
env:
CI: true
NODE_VERSION: 22.13.0
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
cache-dependency-path: package-lock.json
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.10
bundler-cache: true
- name: Install npm dependencies
run: npm ci
- name: Type check
run: npm run typecheck
- name: Run unit tests
run: npm test -- --runInBand
- name: Install CocoaPods dependencies
run: bundle exec pod install --project-directory=ios
- name: Build iOS app for simulator
shell: bash
run: |
set -o pipefail
xcodebuild \
-workspace ios/FileFlashBridge.xcworkspace \
-scheme FileFlashBridge \
-configuration Debug \
-sdk iphonesimulator \
-destination 'generic/platform=iOS Simulator' \
CODE_SIGNING_ALLOWED=NO \
COMPILER_INDEX_STORE_ENABLE=NO \
build | tee xcodebuild.log
- name: Upload xcodebuild log
if: failure()
uses: actions/upload-artifact@v4
with:
name: xcodebuild-log
path: xcodebuild.log