File tree Expand file tree Collapse file tree 3 files changed +13
-37
lines changed
Expand file tree Collapse file tree 3 files changed +13
-37
lines changed Original file line number Diff line number Diff line change 1- name : Setup
2- description : Setup Node.js and install dependencies
1+ name : Setup JS
2+ description : Set up Node.js and install dependencies
33
44runs :
55 using : composite
99 with :
1010 node-version-file : .nvmrc
1111
12- - name : Restore dependencies
12+ - name : Cache dependencies
1313 id : yarn-cache
14- uses : actions/cache/restore @v4
14+ uses : actions/cache@v4
1515 with :
1616 path : |
1717 **/node_modules
2424 - name : Install dependencies
2525 if : steps.yarn-cache.outputs.cache-hit != 'true'
2626 run : yarn install --immutable
27- shell : bash
28-
29- - name : Cache dependencies
30- if : steps.yarn-cache.outputs.cache-hit != 'true'
31- uses : actions/cache/save@v4
32- with :
33- path : |
34- **/node_modules
35- .yarn/install-state.gz
36- key : ${{ steps.yarn-cache.outputs.cache-primary-key }}
27+ shell : bash
Original file line number Diff line number Diff line change @@ -18,34 +18,19 @@ jobs:
1818 uses : actions/checkout@v4
1919
2020 - name : Setup
21- uses : ./.github/actions/setup
22-
23- - name : Lint files
24- run : yarn lint
21+ uses : ./.github/actions/setup-js
2522
2623 - name : Typecheck files
2724 run : yarn typecheck
2825
29- test :
30- runs-on : ubuntu-latest
31- steps :
32- - name : Checkout
33- uses : actions/checkout@v4
34-
35- - name : Setup
36- uses : ./.github/actions/setup
37-
38- - name : Run unit tests
39- run : yarn test --maxWorkers=2 --coverage
40-
4126 build-library :
4227 runs-on : ubuntu-latest
4328 steps :
4429 - name : Checkout
4530 uses : actions/checkout@v4
4631
4732 - name : Setup
48- uses : ./.github/actions/setup
33+ uses : ./.github/actions/setup-js
4934
5035 - name : Build package
5136 run : yarn prepare
5944 uses : actions/checkout@v4
6045
6146 - name : Setup
62- uses : ./.github/actions/setup
47+ uses : ./.github/actions/setup-js
6348
6449 - name : Cache turborepo for Android
6550 uses : actions/cache@v4
@@ -100,11 +85,11 @@ jobs:
10085 restore-keys : |
10186 ${{ runner.os }}-gradle-
10287
103- - name : Build example for Android
88+ - name : Build for Android
10489 env :
10590 JAVA_OPTS : " -XX:MaxHeapSize=6g"
10691 run : |
107- yarn turbo run build :android --cache-dir="${{ env.TURBO_CACHE_DIR }}"
92+ yarn ubrn :android
10893
10994 build-ios :
11095 runs-on : macos-latest
@@ -166,6 +151,6 @@ jobs:
166151 **/ios/Pods
167152 key : ${{ steps.cocoapods-cache.outputs.cache-key }}
168153
169- - name : Build example for iOS
154+ - name : Build for iOS
170155 run : |
171- yarn turbo run build :ios --cache-dir="${{ env.TURBO_CACHE_DIR }}"
156+ yarn ubrn :ios
Original file line number Diff line number Diff line change @@ -11,4 +11,4 @@ android:
1111 targets :
1212 - arm64-v8a
1313 - armeabi-v7a
14- - x86_64
14+ # - x86_64
You can’t perform that action at this time.
0 commit comments