Skip to content

Commit b104725

Browse files
committed
build: decouple example:prepare from prepare package run script
1 parent 5d64511 commit b104725

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/tests_e2e.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
timeout_minutes: 10
5959
retry_wait_seconds: 60
6060
max_attempts: 3
61-
command: yarn --no-audit --prefer-offline
61+
command: yarn --no-audit --prefer-offline && yarn --no-audit --prefer-offline example:prepare
6262

6363
- name: Configure JDK
6464
uses: actions/setup-java@v3
@@ -140,7 +140,7 @@ jobs:
140140
timeout_minutes: 10
141141
retry_wait_seconds: 60
142142
max_attempts: 3
143-
command: yarn --no-audit --prefer-offline
143+
command: yarn --no-audit --prefer-offline && yarn --no-audit --prefer-offline example:prepare
144144

145145
- name: Build iOS App
146146
run: |

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"build:all": "yarn build:clean && yarn build && yarn example:build:android && yarn example:build:ios",
1313
"build:clean": "rimraf ios/build android/build example/android/app/build example/ios/build example/macos/build",
1414
"build:docs": "typedoc --excludeExternals --out typedocs --plugin typedoc-plugin-markdown --hideBreadcrumbs --entryPoints lib/index.d.ts",
15-
"prepare": "yarn build && yarn tsc:compile && yarn example:prepare",
15+
"prepare": "yarn build && yarn tsc:compile",
1616
"example:prepare": "cd example && yarn && cd ios && (pod install || true) && cd ../macos && (pod install || true)",
1717
"example:build:android": "cd example/android && ./gradlew assembleDebug",
1818
"example:build:ios": "cd example && (xcodebuild -workspace ios/RNAppleAuthExample.xcworkspace -scheme RNAppleAuthExample -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build -UseModernBuildSystem=YES | xcbeautify || true)",

0 commit comments

Comments
 (0)