-
Notifications
You must be signed in to change notification settings - Fork 153
Support environment variable to skip Yarn install #150
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
Conversation
It feels sort of weird to me as well that they |
I see there is a condition here for SKIP_YARN_INSTALL variable. Could you clarify:
|
@rserling Out of curiosity, are you also using |
@aduth thanks for the response, this is a rough blocker. Unfortunately no, my app is not using cssbundling-rails. |
Ah, bummer! Well, to answer your original question, it's a simple truthy check, so any value should work ( In my testing, I'm not too sure why it's not working for you, but some ideas to check:
|
Thanks @aduth I've verified that during build we are getting version 1.3.0 of jsbundling-rails.
|
Closes #130
These changes allow a project to skip the
yarn install
prestep of the JavaScript build if, for example, their build pipeline will already ensure that dependencies have been installed.Open question: Should this logic be contained to the existing
build
task, rather than spun out as a new prerequisite task as proposed?