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
54 changes: 17 additions & 37 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,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 @@ -56,41 +72,5 @@ jobs:
- name: Install example app dependencies
run: yarn install --frozen-lockfile
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
with:
ref: ${{ inputs.ref || github.ref }}
- name: Use Node.js 22.13.0
uses: actions/setup-node@v4
with:
node-version: 22.13.0
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Restore yarn workspaces
id: yarn-cache
uses: actions/cache@v4
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Install example app dependencies
run: yarn install --frozen-lockfile
working-directory: example
- name: Build android example app with new arch enabled
- name: Build Android example app
run: ./.github/scripts/build-android.sh true
48 changes: 19 additions & 29 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,47 +11,37 @@ 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'
- 'Package.swift'
- 'src/__tests__/swiftpm-test.ts'
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'
- 'Package.swift'
- 'src/__tests__/swiftpm-test.ts'
jobs:
ios-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.ref || github.ref }}
- name: Use Node.js 22.13.0
uses: actions/setup-node@v4
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 --frozen-lockfile
- name: Install example app dependencies
run: yarn install --frozen-lockfile
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
Expand All @@ -73,7 +63,7 @@ jobs:
- name: Install example app dependencies
run: yarn install --frozen-lockfile
working-directory: example
- name: Install pods for new arch
- name: Install pods
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 @@ -32,8 +32,14 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Install example app dependencies
run: yarn install --frozen-lockfile
working-directory: example
- name: Run tests
run: yarn test
- name: Typecheck example app
run: yarn typecheck
working-directory: example
- name: Test release safeguards
run: node --test scripts/*.test.mjs
- name: Build and inspect npm package
Expand Down
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