Skip to content

Commit 9e3758d

Browse files
aapelivclaude
andcommitted
Reuse protos-job TS stubs in mobile OTA jobs instead of regenerating
The protos job already emits the grpc-web TS stubs to app/proto/gen/ts/proto and the mobile OTA jobs pull that artifact in via needs, so copy the stubs in rather than re-downloading protoc and running ci-build-protos.sh. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 728383f commit 9e3758d

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

app/.gitlab-ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,9 @@ build:mobile-ota:
855855
script:
856856
- cd app/mobile
857857
- npm ci
858-
- npm run build:protos
858+
# protos are generated by the `protos` job and pulled in via `needs`; copy the
859+
# grpc-web TS stubs in rather than re-downloading protoc and regenerating.
860+
- mkdir -p proto && cp -a ../proto/gen/ts/proto/. proto/
859861
- npx expo config --type public --json > ota-expo-config.json
860862
- |
861863
for P in $OTA_PLATFORMS; do
@@ -961,7 +963,9 @@ build:mobile-ota-staging:
961963
script:
962964
- cd app/mobile
963965
- npm ci
964-
- npm run build:protos
966+
# protos are generated by the `protos` job and pulled in via `needs`; copy the
967+
# grpc-web TS stubs in rather than re-downloading protoc and regenerating.
968+
- mkdir -p proto && cp -a ../proto/gen/ts/proto/. proto/
965969
- npx expo config --type public --json > ota-expo-config.json
966970
- |
967971
for P in $OTA_PLATFORMS; do

0 commit comments

Comments
 (0)