Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump dependencies used by CircleCI #451

Merged
merged 8 commits into from
Jun 29, 2023
Merged
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 18 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,48 @@
version: 2.1

aliases:
- &xcode-version 13.2.0
- &node-version '16.14'
- &yarn-version '1.22.18'
- &xcode-version 14.3.1
- &node-version '18.16'
- &yarn-version '1.22.19'

orbs:
node: circleci/node@4.7.0
browser-tools: circleci/browser-tools@1.2.3
node: circleci/node@5.1.0
browser-tools: circleci/browser-tools@1.4.1

executors:
default:
docker:
- image: cimg/node:16.14
- image: cimg/node:18.16
working_directory: ~/react-native-url-polyfill
environment:
NODE_OPTIONS: '--openssl-legacy-provider'
node-browsers:
docker:
- image: cimg/node:16.14-browsers
- image: cimg/node:18.16-browsers
environment:
NODE_OPTIONS: '--openssl-legacy-provider'
xcode-11:
macos:
xcode: 11.7.0
environment:
HOMEBREW_NO_AUTO_UPDATE: 1
XCODE_VERSION: 11.7.0
NODE_OPTIONS: '--openssl-legacy-provider'
xcode:
macos:
xcode: *xcode-version
environment:
HOMEBREW_NO_AUTO_UPDATE: 1
XCODE_VERSION: *xcode-version
NODE_OPTIONS: '--openssl-legacy-provider'
android:
docker:
- image: cimg/android:2021.10.2
- image: cimg/android:2023.06.1
resource_class: large
environment:
JAVA_TOOL_OPTIONS: '-Xmx1536m'
GRADLE_OPTS: '-Dorg.gradle.daemon=false -Dorg.gradle.workers.max=2'
NODE_OPTIONS: '--openssl-legacy-provider'

commands:
save-cache-yarn:
Expand Down Expand Up @@ -139,7 +146,6 @@ commands:
steps:
- node/install:
node-version: *node-version
install-npm: false
install-yarn: << parameters.install-yarn >>
yarn-version: *yarn-version

Expand Down Expand Up @@ -297,20 +303,20 @@ workflows:
- test-ios:
matrix:
parameters:
react-native-version: ['0.67', '0.68']
react-native-version: ['0.68']
requires:
- lint
- test-js
- test-hermes-ios:
matrix:
parameters:
react-native-version: ['0.67', '0.68']
react-native-version: ['0.68']
requires:
- test-ios-<< matrix.react-native-version >>
- test-hermes-android:
matrix:
parameters:
react-native-version: ['0.67', '0.68']
react-native-version: ['0.68']
requires:
- lint
- test-js
Expand Down
85 changes: 85 additions & 0 deletions platforms/detox/.detoxrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
/** @type {Detox.DetoxConfig} */
module.exports = {
testRunner: {
args: {
$0: 'jest',
config: './e2e/jest.config.js',
},
jest: {
setupTimeout: 120000,
},
},
apps: {
'ios.debug': {
type: 'ios.app',
binaryPath: 'ios/build/Build/Products/Debug-iphonesimulator/Detox.app',
build:
'xcodebuild -workspace ios/Detox.xcworkspace -scheme Detox -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build',
},
'ios.release': {
type: 'ios.app',
binaryPath: 'ios/build/Build/Products/Release-iphonesimulator/Detox.app',
build:
'xcodebuild -workspace ios/Detox.xcworkspace -scheme Detox -configuration Release -sdk iphonesimulator -derivedDataPath ios/build',
},
'android.debug': {
type: 'android.apk',
binaryPath: 'android/app/build/outputs/apk/debug/app-debug.apk',
build:
'cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug',
reversePorts: [8081],
},
'android.release': {
type: 'android.apk',
binaryPath: 'android/app/build/outputs/apk/release/app-release.apk',
build:
'cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release',
},
},
devices: {
simulator: {
type: 'ios.simulator',
device: {
type: 'iPhone 14 Pro',
},
},
attached: {
type: 'android.attached',
device: {
adbName: '.*',
},
},
emulator: {
type: 'android.emulator',
device: {
avdName: 'Pixel_3a_API_30_x86',
},
},
},
configurations: {
'ios.sim.debug': {
device: 'simulator',
app: 'ios.debug',
},
'ios.sim.release': {
device: 'simulator',
app: 'ios.release',
},
'android.att.debug': {
device: 'attached',
app: 'android.debug',
},
'android.att.release': {
device: 'attached',
app: 'android.release',
},
'android.emu.debug': {
device: 'emulator',
app: 'android.debug',
},
'android.emu.release': {
device: 'emulator',
app: 'android.release',
},
},
};
22 changes: 0 additions & 22 deletions platforms/detox/.detoxrc.json

This file was deleted.

8 changes: 0 additions & 8 deletions platforms/detox/config.json

This file was deleted.

23 changes: 0 additions & 23 deletions platforms/detox/environment.js

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion platforms/expo/43/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "app",
"name": "expo-43",
"version": "1.0.0",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion platforms/expo/44/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "app",
"name": "expo-44",
"version": "1.0.0",
"main": "index.js",
"scripts": {
Expand Down
6 changes: 0 additions & 6 deletions platforms/react-native/0.61/.buckconfig

This file was deleted.

8 changes: 0 additions & 8 deletions platforms/react-native/0.61/.eslintrc.js

This file was deleted.

75 changes: 0 additions & 75 deletions platforms/react-native/0.61/.flowconfig

This file was deleted.

1 change: 0 additions & 1 deletion platforms/react-native/0.61/.gitattributes

This file was deleted.

59 changes: 0 additions & 59 deletions platforms/react-native/0.61/.gitignore

This file was deleted.

Loading