-
Notifications
You must be signed in to change notification settings - Fork 36
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
chore: install yarn deps in production mode #329
Conversation
Preview: https://packit-dashboard-pr-329.surge.sh (deployed at Mon 11 Sep 2023, 17:54 UTC) |
Build succeeded. ✔️ pre-commit SUCCESS in 1m 19s |
From the yarn docs: > Yarn will not install any package listed in `devDependencies` if the > `NODE_ENV` environment variable is set to `production`. Use this flag > to instruct Yarn to ignore `NODE_ENV` and take its production-or-not > status from this flag instead. This should ensure that no development dependencies, such as `surge`, are installed at all in the image that we use for deployments. Yet another follow-up to the vulnerability report for the MP+ deployment. Co-authored-by: Eric Gustavsson <[email protected]> Signed-off-by: Matej Focko <[email protected]>
e47ae58
to
c0f61ee
Compare
Build succeeded. ✔️ pre-commit SUCCESS in 1m 19s |
@.SpyTec Sorry for the additional review request, but with the requested changes you blocked merging 😄 |
There is a way to dismiss review requests just above the merge button :D |
From the yarn docs:
This should ensure that no development dependencies, such as
surge
, are installed at all in the image that we use for deployments.Yet another follow-up to the vulnerability report for the MP+ deployment.