Skip to content

Bump nanoid from 3.3.16 to 3.3.18 #467

Bump nanoid from 3.3.16 to 3.3.18

Bump nanoid from 3.3.16 to 3.3.18 #467

Workflow file for this run

name: Build iOS on PRs
on:
workflow_dispatch:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
# Cancel in-progress runs on the same PR to avoid wasting runner minutes.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
if: github.event.pull_request.draft == false
runs-on: macos-15
strategy:
fail-fast: false
matrix:
xcode_version: [ '26.2.0' ]
platform: [iOS, tvOS]
name: Build for ${{ matrix.platform }} using XCode version ${{ matrix.xcode_version }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Select Xcode ${{ matrix.xcode_version }}
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ matrix.xcode_version }}
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- name: Cache Ruby Gems
uses: actions/cache@v4
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Cache CocoaPods
uses: actions/cache@v4
with:
path: apps/e2e/ios/Pods
key: pods-${{ runner.os }}-${{ hashFiles('apps/e2e/ios/Podfile.lock') }}
restore-keys: |
pods-${{ runner.os }}-
- name: Run npm install
run: |
npm i -g corepack
npm ci --workspaces --include-workspace-root
- name: Build workspaces
run: npm run build
- name: Run documentation tests
run: npm test
- name: Install & update e2e app with latest react-native-theoplayer
working-directory: apps/e2e
run: npm install react-native-theoplayer@latest
- name: Install Ruby dependencies
working-directory: apps/e2e
run: |
bundle config set path 'vendor/bundle'
bundle install
- name: Run pod install & update dependencies
working-directory: apps/e2e/ios
run: RCT_NEW_ARCH_ENABLED=${{ matrix.newArchEnabled }} bundle exec pod update
- name: Start iOS simulator
uses: futureware-tech/simulator-action@v4
with:
model: ${{ matrix.platform == 'iOS' && 'iPhone 17' || 'Apple TV' }}
os: ${{ matrix.platform }}
os_version: '>=26.2'
- name: Run e2e tests
working-directory: apps/e2e
run: npm run test:e2e:${{ matrix.platform == 'iOS' && 'ios' || 'tvos' }} -- --markdown
- name: Summarize results
working-directory: apps/e2e
if: always()
run: |
if [ -f cavynext_results.md ]; then
cat cavynext_results.md >> $GITHUB_STEP_SUMMARY
fi