-
Notifications
You must be signed in to change notification settings - Fork 101
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
Add working directory parameter #144
Conversation
src/orb.yml
Outdated
@@ -441,6 +471,20 @@ examples: | |||
- cypress/run: | |||
yarn: true | |||
|
|||
custom-directory: | |||
description: | | |||
Runs all commands in a custom directory. |
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.
ok, everything seems good, except can you describe this example a little bit better, please? Like the use case is monorepo with front-end tests in a subfolder for example ... right?
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.
Yes exactly, I've improved the description a bit, do you think that's good enough now?
src/orb.yml
Outdated
@@ -391,6 +415,10 @@ jobs: | |||
description: Use yarn to install NPM modules instead of npm. | |||
type: boolean | |||
default: false | |||
working_directory: | |||
description: Directory containing package.json |
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.
since this is top level parameter, could you describe its purpose a little bit more here?
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.
I love it, just would like to see more description text before merging this change
perfect, thank you @n6g7 |
Cool! Do you plan on making a release soon? :) |
@n6g7 I have just published v1.8.0 - give it a go |
Working great, thanks! |
Adds a
working_directory
parameter to most commands and jobs.Fixes #113 and #16.