Skip to content

Commit c35b9ef

Browse files
committed
refactor: rename build-web job to smoke-mobile in CI
1 parent 02c8321 commit c35b9ef

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- name: Build package
5151
run: yarn prepare
5252

53-
build-web:
53+
smoke-mobile:
5454
runs-on: ubuntu-latest
5555
steps:
5656
- name: Checkout
@@ -59,6 +59,6 @@ jobs:
5959
- name: Setup
6060
uses: ./.github/actions/setup
6161

62-
- name: Build example for Web
62+
- name: Smoke build mobile example
6363
run: |
64-
yarn example expo export --platform web
64+
CI=1 yarn workspace @swmansion/react-native-detour-expo-router-native-intent expo export --platform ios --platform android

examples/expo-bare/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Ruby
22
vendor/
3+
dist/
34

45
ios/
56
android/

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66
"types": "./lib/typescript/src/index.d.ts",
77
"exports": {
88
".": {
9+
"react-native": "./src/index.ts",
910
"source": "./src/index.ts",
1011
"types": "./lib/typescript/src/index.d.ts",
1112
"default": "./lib/module/index.js"
1213
},
1314
"./expo-router": {
15+
"react-native": "./src/expo-router/index.ts",
1416
"source": "./src/expo-router/index.ts",
1517
"types": "./lib/typescript/src/expo-router/index.d.ts",
1618
"default": "./lib/module/expo-router/index.js"

0 commit comments

Comments
 (0)