Skip to content

chore: Upgrade nativewind to v4 #5

chore: Upgrade nativewind to v4

chore: Upgrade nativewind to v4 #5

Workflow file for this run

name: E2E iOS
on:
push:
branches:
- master
workflow_call:
jobs:
e2e-ios:
runs-on: macos-12
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
cache: yarn
node-version-file: .node-version
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Install macOS dependencies
run: |
brew tap wix/brew
brew install applesimutils
env:
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_INSTALL_CLEANUP: 1
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- name: Cache CocoaPods
id: cache-cocoapods
uses: actions/cache@v4
with:
path: ios/Pods
key: ${{ runner.os }}-${{ runner.arch }}-pods-${{ hashFiles('ios/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-${{ runner.arch }}-pods-
- name: Install CocoaPods
run: cd ios ; pod install ; cd -
- name: Detox rebuild framework cache
run: yarn detox rebuild-framework-cache
- name: Cache Detox build
id: cache-detox-build
uses: actions/cache@v4
with:
path: ios/build
key: ${{ runner.os }}-${{ runner.arch }}-detox-build-${{ hashFiles('ios/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-${{ runner.arch }}-detox-build-${{ hashFiles('ios/Podfile.lock') }}
- name: Detox build
run: yarn e2e:build-ios-release
- name: Detox test
run: yarn e2e:run-ios-release --cleanup --headless --record-logs all
- name: Upload artifacts
if: failure()
uses: actions/upload-artifact@v4
with:
name: detox-artifacts
path: artifacts