-
Notifications
You must be signed in to change notification settings - Fork 5
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
Allow customizing package manager #29
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for bringing this to all workflows. I left a couple of comments which would need to be applied to all occurrences should you agree with them.
Thanks!
This is part of the PR following the pathfinder rules.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for incorporating the changes! While going through build-and-push-assets.yml
, I realized that this workflow auto-detects the package manager. IMO, this is great because it saves us from having to specify the package manager in every calling workflow. Can you please update this PR to use the auto-detection as well? Thanks!
# Conflicts: # .github/workflows/build-and-push-assets.yml # docs/build-and-push-assets.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature.
What is the current behavior? (You can also link to an open issue here)
It's not possible to select a package manager to install dependencies for QA workflows.
Yarn and npm definitely go in a different ways to provide specific functionality so it will be nice to run QA with the same package manager as locally. And install dependencies from the related
.lock
file if it exists.What is the new behavior (if this is a feature change)?
Add
PACKAGE_MANAGER
input and related functionality. Essentially code was picked from theBuild and push assets
workflow (without autodetection).Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No. Because by default is
npm
as it is now.Other information: