Skip to content
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

Fixed some bugs in cache flow #7993

Merged
merged 1 commit into from
May 18, 2023
Merged

Fixed some bugs in cache flow #7993

merged 1 commit into from
May 18, 2023

Conversation

barankyle
Copy link
Member

@barankyle barankyle commented May 18, 2023

Summary

Running npm install from packages/projects was not correct. To just install projects' dependencies, we're now using a second root package.json that for workspaces only has the packages that the builder comes preinstalled with and packages/projects/projects/*. This ensures that all projects' dependencies are installed, all necessary packages for running the builder stay installed, and packages that are not necessary for root builder tasks are not installed unnecessarily.

Dockerfile-root runs npm install; this had been commented out for testing purposes and mistakenly not uncommented.

References

closes #insert number here

Checklist

  • If this PR is still a WIP, convert to a draft
  • When this PR is ready, mark it as "Ready for review"
  • ensure all checks pass
  • Changes have been manually QA'd
  • Changes reviewed by at least 2 approved reviewer

QA Steps

List any additional steps required to QA the changes of this PR, as well as any supplemental images or videos.

Running npm install from packages/projects was not correct. To just install
projects' dependencies, we're now using a second root package.json that for
workspaces only has the packages that the builder comes preinstalled with
and packages/projects/projects/*. This ensures that all projects'
dependencies are installed, all necessary packages for running the builder
stay installed, and packages that are not necessary for root builder tasks
are not installed unnecessarily.

Dockerfile-root runs npm install; this had been commented out for testing
purposes and mistakenly not uncommented.
@barankyle barankyle merged commit 2eb0326 into dev May 18, 2023
9 checks passed
@barankyle barankyle deleted the cache-fixup branch May 18, 2023 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant