[No QA] Install desktop node-modules only when building desktop app#56161
Conversation
|
@jasperhuangg Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
Hey @jnowakow I don't have much context on these changes, do you mind linking the original issue in the OP and providing a bit more context? Would be good to get another internal engineer from the original issue to review this as well. |
|
@jasperhuangg unfortunately I there's no issue for that. We're trying to improve build time on CI and it's minor improvement. I forgot to tag internal engineers :( @Julesssss @AndrewGable @mountiny can you have a look on this one? Thanks! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
@jnowakow we had to revert this change because it was causing typecheck and eslint actions to fail in CI https://github.com/Expensify/App/actions/runs/13121248244/job/36607456600 https://github.com/Expensify/App/actions/runs/13121248244/job/36607454707 @fabioh8010 will note down his findings |
|
🚀 Deployed to staging by https://github.com/jasperhuangg in version: 9.0.94-0 🚀
|
|
Sorry that I hadn't noticed that. I'll open this PR again with necessary changes |
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.0.94-25 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.0.94-25 🚀
|


cc @staszekscp
Explanation of Change
Currently we try to retrieve desktop's
node-moduleseven if we build mobile app or web. This PR adds input tosetupNodeworkflow to avoid installing desktop's dependencies when they are not needed.Fixed Issues
$
PROPOSAL:
Tests
Build and deploy apps for testing)setupNodedoesn't retrieve from cache or install desktop's node-modulesOffline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop