Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: yarn install
working-directory: example

- name: Build android example app with new arch disabled
- name: Build Android example app
run: ./gradlew assembleRelease -PnewArchEnabled=true
working-directory: example/android

Expand Down
52 changes: 17 additions & 35 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,32 @@ on:
branches:
- main
paths:
- '.github/scripts/build-android.*'
- '.github/workflows/android.yml'
- 'android/**'
- 'common/**'
- 'example/android/**'
- 'example/package.json'
- 'example/react-native.config.js'
- 'example/yarn.lock'
- 'package.json'
- 'react-native.config.js'
- 'src/specs/**'
- 'yarn.lock'
pull_request:
paths:
- '.github/scripts/build-android.*'
- '.github/workflows/android.yml'
- 'android/**'
- 'common/**'
- 'example/android/**'
- 'example/package.json'
- 'example/react-native.config.js'
- 'example/yarn.lock'
- 'package.json'
- 'react-native.config.js'
- 'src/specs/**'
- 'yarn.lock'

jobs:
android-build:
Expand Down Expand Up @@ -49,39 +65,5 @@ jobs:
- name: Install example app dependencies
run: yarn install
working-directory: example
- name: Build android example app with new arch disabled
run: ./.github/scripts/build-android.sh false
android-build-fabric:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
- name: Use Node.js 22.13.0
uses: actions/setup-node@v1
with:
node-version: 22.13.0
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
- name: Restore yarn workspaces
id: yarn-cache
uses: actions/cache@v3
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn install
- name: Install example app dependencies
run: yarn install
working-directory: example
- name: Build android example app with new arch enabled
- name: Build Android example app
run: ./.github/scripts/build-android.sh true
44 changes: 18 additions & 26 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,31 @@ on:
- main
paths:
- '.github/workflows/ios.yml'
- 'ios/**'
- 'common/**'
- 'example/ios/**'
- 'example/package.json'
- 'example/react-native.config.js'
- 'example/yarn.lock'
- 'ios/**'
- 'package.json'
- 'react-native-safe-area-context.podspec'
- 'react-native.config.js'
- 'src/specs/**'
- 'yarn.lock'
pull_request:
paths:
- '.github/workflows/ios.yml'
- 'ios/**'
- 'common/**'
- 'example/ios/**'
- 'example/package.json'
- 'example/react-native.config.js'
- 'example/yarn.lock'
- 'ios/**'
- 'package.json'
- 'react-native-safe-area-context.podspec'
- 'react-native.config.js'
- 'src/specs/**'
- 'yarn.lock'
jobs:
ios-build:
runs-on: macos-latest
Expand All @@ -35,30 +51,6 @@ jobs:
run: yarn install
working-directory: example
- name: Install pods
run: RCT_NEW_ARCH_ENABLED=0 npx pod-install
working-directory: example/ios
- name: Build ios example app
run: xcodebuild -scheme ReactTestApp -workspace RNSACExample.xcworkspace ONLY_ACTIVE_ARCH=NO -sdk iphonesimulator -configuration Debug
working-directory: example/ios
ios-build-fabric:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 22.13.0
uses: actions/setup-node@v1
with:
node-version: 22.13.0
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
working-directory: example
bundler-cache: true
- name: Install dependencies
run: yarn install
- name: Install example app dependencies
run: yarn install
working-directory: example
- name: Install pods for new arch
run: RCT_NEW_ARCH_ENABLED=1 npx pod-install
working-directory: example/ios
- name: Build ios example app
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,11 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn install
- name: Install example app dependencies
run: yarn install
working-directory: example
- name: Run tests
run: yarn test
- name: Typecheck example app
run: yarn typecheck
working-directory: example
20 changes: 10 additions & 10 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@
"typecheck": "tsc"
},
"dependencies": {
"@docusaurus/core": "3.7.0",
"@docusaurus/preset-classic": "3.7.0",
"@mdx-js/react": "^3.0.0",
"@docusaurus/core": "3.10.2",
"@docusaurus/preset-classic": "3.10.2",
"@mdx-js/react": "^3.1.1",
"clsx": "^2.0.0",
"prism-react-renderer": "^2.3.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
"react": "^19.2.8",
"react-dom": "^19.2.8"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.7.0",
"@docusaurus/tsconfig": "3.7.0",
"@docusaurus/types": "3.7.0",
"typescript": "~5.6.2"
"@docusaurus/module-type-aliases": "3.10.2",
"@docusaurus/tsconfig": "3.10.2",
"@docusaurus/types": "3.10.2",
"typescript": "~5.9.3"
},
"browserslist": {
"production": [
Expand All @@ -42,6 +42,6 @@
]
},
"engines": {
"node": ">=18.0"
"node": ">=20.0"
}
}
Loading
Loading