-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[No QA] Install desktop node-modules only when building desktop app #56161
[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 |
cc @staszekscp
Explanation of Change
Currently we try to retrieve desktop's
node-modules
even if we build mobile app or web. This PR adds input tosetupNode
workflow to avoid installing desktop's dependencies when they are not needed.Fixed Issues
$
PROPOSAL:
Tests
Build and deploy apps for testing
)setupNode
doesn'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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop