23
23
run : yarn
24
24
- name : Run test ${{ matrix.test-name }}
25
25
run : yarn test:${{ matrix.test-name }}
26
+ working-directory : packages/default-storage-backend
26
27
android :
27
28
name : Android
28
29
runs-on : ubuntu-22.04
@@ -42,10 +43,11 @@ jobs:
42
43
with :
43
44
gradle-version : wrapper
44
45
arguments : react-native-async-storage_async-storage:test
45
- build-root-directory : example/android
46
+ build-root-directory : packages/default-storage-backend/ example/android
46
47
- name : Build e2e binary
47
48
run : |
48
49
yarn build:e2e:android
50
+ working-directory : packages/default-storage-backend
49
51
50
52
ios :
51
53
name : iOS
56
58
- name : Cache /.ccache
57
59
uses : actions/cache@v3
58
60
with :
59
- path : .ccache
61
+ path : packages/default-storage-backend/ .ccache
60
62
key : ccache-ios-${{ hashFiles('yarn.lock') }}
61
63
restore-keys : ccache-ios-
62
64
- name : Set up Node.js
@@ -70,13 +72,15 @@ jobs:
70
72
- name : Bundle JS
71
73
run : |
72
74
yarn bundle:ios
75
+ working-directory : packages/default-storage-backend
73
76
- name : Install Pods
74
77
run : |
75
78
RCT_NEW_ARCH_ENABLED=1 pod install
76
- working-directory : example/ios
79
+ working-directory : packages/default-storage-backend/ example/ios
77
80
- name : Build e2e binary
78
81
run : |
79
82
yarn build:e2e:ios
83
+ working-directory : packages/default-storage-backend
80
84
81
85
macos :
82
86
name : macOS
87
91
- name : Cache /.ccache
88
92
uses : actions/cache@v3
89
93
with :
90
- path : .ccache
94
+ path : packages/default-storage-backend/ .ccache
91
95
key : ccache-macos-${{ hashFiles('yarn.lock') }}
92
96
restore-keys : ccache-macos-
93
97
- name : Set up Node.js
@@ -101,17 +105,20 @@ jobs:
101
105
- name : Bundle JS
102
106
run : |
103
107
yarn bundle:macos
108
+ working-directory : packages/default-storage-backend
104
109
- name : Install Pods
105
110
run : |
106
111
RCT_NEW_ARCH_ENABLED=1 pod install
107
- working-directory : example/macos
112
+ working-directory : packages/default-storage-backend/ example/macos
108
113
- name : Build
109
114
run : |
110
115
yarn build:e2e:macos
116
+ working-directory : packages/default-storage-backend
111
117
- name : Test
112
118
if : false
113
119
run : |
114
120
yarn test:e2e:macos
121
+ working-directory : packages/default-storage-backend
115
122
116
123
windows :
117
124
name : Windows
@@ -133,10 +140,11 @@ jobs:
133
140
yarn
134
141
- name : Install Windows test app
135
142
run : |
136
- yarn install-windows-test-app -p example/windows
143
+ yarn install-windows-test-app -p packages/default-storage-backend/ example/windows
137
144
- name : Build
138
145
run : |
139
146
yarn react-native run-windows --release --arch x64 --logging --no-packager --no-launch --no-deploy --msbuildprops "BundleEntryFile=index.ts" --no-telemetry
147
+ working-directory : packages/default-storage-backend
140
148
141
149
release :
142
150
name : Release
@@ -168,3 +176,4 @@ jobs:
168
176
git config user.email ${{ secrets.GH_BOT_EMAIL }}
169
177
git config user.name ${{ secrets.GH_BOT_NAME }}
170
178
yarn semantic-release
179
+ working-directory : packages/default-storage-backend
0 commit comments