Skip to content

Commit 1d1cac0

Browse files
committed
fix(chore): ci - fix
1 parent f9a63c9 commit 1d1cac0

3 files changed

Lines changed: 27 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
- name: Lint files
2424
run: yarn lint
2525

26+
- name: Codegen
27+
run: yarn nitrogen
28+
2629
- name: Typecheck files
2730
run: yarn typecheck
2831

@@ -47,6 +50,9 @@ jobs:
4750
- name: Setup
4851
uses: ./.github/actions/setup
4952

53+
- name: Build package
54+
run: yarn nitrogen
55+
5056
- name: Build package
5157
run: yarn prepare
5258

@@ -154,6 +160,7 @@ jobs:
154160
- name: Install cocoapods
155161
if: env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true'
156162
run: |
163+
yarn nitrogen
157164
cd example
158165
bundle install
159166
bundle exec pod install --project-directory=ios

example/Gemfile.lock

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,26 @@ GEM
55
base64
66
nkf
77
rexml
8-
activesupport (6.1.7.10)
8+
activesupport (7.1.5.2)
9+
base64
10+
benchmark (>= 0.3)
11+
bigdecimal
912
concurrent-ruby (~> 1.0, >= 1.0.2)
13+
connection_pool (>= 2.2.5)
14+
drb
1015
i18n (>= 1.6, < 2)
16+
logger (>= 1.4.2)
1117
minitest (>= 5.1)
18+
mutex_m
19+
securerandom (>= 0.3)
1220
tzinfo (~> 2.0)
13-
zeitwerk (~> 2.3)
1421
addressable (2.8.7)
1522
public_suffix (>= 2.0.2, < 7.0)
1623
algoliasearch (1.27.5)
1724
httpclient (~> 2.8, >= 2.8.3)
1825
json (>= 1.5.1)
1926
atomos (0.1.3)
20-
base64 (0.2.0)
27+
base64 (0.3.0)
2128
benchmark (0.4.0)
2229
bigdecimal (3.1.9)
2330
claide (1.1.0)
@@ -60,8 +67,10 @@ GEM
6067
cocoapods-try (1.2.0)
6168
colored2 (3.1.2)
6269
concurrent-ruby (1.3.3)
70+
connection_pool (2.5.4)
71+
drb (2.2.3)
6372
escape (0.0.4)
64-
ethon (0.16.0)
73+
ethon (0.17.0)
6574
ffi (>= 1.15.0)
6675
ffi (1.17.2)
6776
fourflusher (2.3.1)
@@ -71,18 +80,19 @@ GEM
7180
mutex_m
7281
i18n (1.14.7)
7382
concurrent-ruby (~> 1.0)
74-
json (2.7.6)
83+
json (2.15.2)
7584
logger (1.7.0)
76-
minitest (5.25.4)
85+
minitest (5.26.0)
7786
molinillo (0.8.0)
7887
mutex_m (0.3.0)
7988
nanaimo (0.3.0)
8089
nap (1.1.0)
8190
netrc (0.11.0)
8291
nkf (0.2.0)
8392
public_suffix (4.0.7)
84-
rexml (3.4.1)
93+
rexml (3.4.4)
8594
ruby-macho (2.5.1)
95+
securerandom (0.3.2)
8696
typhoeus (1.4.1)
8797
ethon (>= 0.9.0)
8898
tzinfo (2.0.6)
@@ -94,7 +104,6 @@ GEM
94104
colored2 (~> 3.1)
95105
nanaimo (~> 0.3.0)
96106
rexml (>= 3.3.6, < 4.0)
97-
zeitwerk (2.6.18)
98107

99108
PLATFORMS
100109
ruby
@@ -113,4 +122,4 @@ RUBY VERSION
113122
ruby 2.6.10p210
114123

115124
BUNDLED WITH
116-
1.17.2
125+
2.4.22

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"typecheck": "tsc",
3939
"lint": "eslint \"**/*.{js,ts,tsx}\"",
4040
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
41-
"prepare": "bob build",
41+
"prepare": "yarn nitrogen && bob build",
4242
"nitrogen": "nitro-codegen",
4343
"release": "release-it",
4444
"dev:ios": "cd example && xed ios",
@@ -143,8 +143,7 @@
143143
[
144144
"custom",
145145
{
146-
"script": "nitrogen",
147-
"clean": "nitrogen/"
146+
"script": "nitrogen"
148147
}
149148
],
150149
[

0 commit comments

Comments
 (0)