Skip to content

Commit 7e9ea53

Browse files
committed
feat: generate codegen code on lib ci
1 parent e37a334 commit 7e9ea53

File tree

1 file changed

+10
-0
lines changed
  • packages/create-react-native-library/templates/common/$.github/workflows

1 file changed

+10
-0
lines changed

packages/create-react-native-library/templates/common/$.github/workflows/ci.yml

+10
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ jobs:
6161

6262
- name: Setup
6363
uses: ./.github/actions/setup
64+
<% if (project.moduleConfig === 'nitro-modules') { -%>
65+
66+
- name: Generate nitrogen code
67+
run: yarn nitrogen
68+
<% } -%>
6469

6570
- name: Cache turborepo for Android
6671
uses: actions/cache@v4
@@ -117,6 +122,11 @@ jobs:
117122

118123
- name: Setup
119124
uses: ./.github/actions/setup
125+
<% if (project.moduleConfig === 'nitro-modules') { -%>
126+
127+
- name: Generate nitrogen code
128+
run: yarn nitrogen
129+
<% } -%>
120130

121131
- name: Cache turborepo for iOS
122132
uses: actions/cache@v4

0 commit comments

Comments
 (0)