Skip to content

Commit 8b92d3b

Browse files
author
Krzysztof Borowy
committed
ci
1 parent d05a59f commit 8b92d3b

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
run: yarn
2424
- name: Run test ${{ matrix.test-name }}
2525
run: yarn test:${{ matrix.test-name }}
26+
working-directory: packages/default-storage-backend
2627
android:
2728
name: Android
2829
runs-on: ubuntu-22.04
@@ -42,10 +43,11 @@ jobs:
4243
with:
4344
gradle-version: wrapper
4445
arguments: react-native-async-storage_async-storage:test
45-
build-root-directory: example/android
46+
build-root-directory: packages/default-storage-backend/example/android
4647
- name: Build e2e binary
4748
run: |
4849
yarn build:e2e:android
50+
working-directory: packages/default-storage-backend
4951

5052
ios:
5153
name: iOS
@@ -56,7 +58,7 @@ jobs:
5658
- name: Cache /.ccache
5759
uses: actions/cache@v3
5860
with:
59-
path: .ccache
61+
path: packages/default-storage-backend/.ccache
6062
key: ccache-ios-${{ hashFiles('yarn.lock') }}
6163
restore-keys: ccache-ios-
6264
- name: Set up Node.js
@@ -70,13 +72,15 @@ jobs:
7072
- name: Bundle JS
7173
run: |
7274
yarn bundle:ios
75+
working-directory: packages/default-storage-backend
7376
- name: Install Pods
7477
run: |
7578
RCT_NEW_ARCH_ENABLED=1 pod install
76-
working-directory: example/ios
79+
working-directory: packages/default-storage-backend/example/ios
7780
- name: Build e2e binary
7881
run: |
7982
yarn build:e2e:ios
83+
working-directory: packages/default-storage-backend
8084

8185
macos:
8286
name: macOS
@@ -87,7 +91,7 @@ jobs:
8791
- name: Cache /.ccache
8892
uses: actions/cache@v3
8993
with:
90-
path: .ccache
94+
path: packages/default-storage-backend/.ccache
9195
key: ccache-macos-${{ hashFiles('yarn.lock') }}
9296
restore-keys: ccache-macos-
9397
- name: Set up Node.js
@@ -101,17 +105,20 @@ jobs:
101105
- name: Bundle JS
102106
run: |
103107
yarn bundle:macos
108+
working-directory: packages/default-storage-backend
104109
- name: Install Pods
105110
run: |
106111
RCT_NEW_ARCH_ENABLED=1 pod install
107-
working-directory: example/macos
112+
working-directory: packages/default-storage-backend/example/macos
108113
- name: Build
109114
run: |
110115
yarn build:e2e:macos
116+
working-directory: packages/default-storage-backend
111117
- name: Test
112118
if: false
113119
run: |
114120
yarn test:e2e:macos
121+
working-directory: packages/default-storage-backend
115122

116123
windows:
117124
name: Windows
@@ -134,9 +141,11 @@ jobs:
134141
- name: Install Windows test app
135142
run: |
136143
yarn install-windows-test-app -p example/windows
144+
working-directory: packages/default-storage-backend
137145
- name: Build
138146
run: |
139147
yarn react-native run-windows --release --arch x64 --logging --no-packager --no-launch --no-deploy --msbuildprops "BundleEntryFile=index.ts" --no-telemetry
148+
working-directory: packages/default-storage-backend
140149

141150
release:
142151
name: Release
@@ -168,3 +177,4 @@ jobs:
168177
git config user.email ${{ secrets.GH_BOT_EMAIL }}
169178
git config user.name ${{ secrets.GH_BOT_NAME }}
170179
yarn semantic-release
180+
working-directory: packages/default-storage-backend

.github/workflows/website-deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Cache/restore dependencies
1818
uses: actions/cache@v3
1919
with:
20-
path: ./packages/website/.yarn
20+
path: .yarn
2121
key: website-${{ hashFiles('yarn.lock') }}
2222
- name: Install dependencies
2323
run: yarn

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ logFilters:
77
- code: YN0013 # X can't be found in the cache and will be fetched from the remote registry
88
level: discard
99
nodeLinker: node-modules
10-
nmHoistingLimits: dependencies
10+
nmHoistingLimits: workspaces
1111
npmRegistryServer: "https://registry.npmjs.org"
1212
packageExtensions:
1313
"@expo/cli@*":

0 commit comments

Comments
 (0)