-
Notifications
You must be signed in to change notification settings - Fork 0
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
Js monorepo #103
base: main
Are you sure you want to change the base?
Js monorepo #103
Conversation
@@ -13,11 +13,13 @@ steps: | |||
- checkout | |||
- run: | |||
name: Install dependencies | |||
command: yarn --immutable | |||
command: | |
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 think it would be cleaner to have a parameter called: working_directory
and then before the steps
set:
working_directory: ~/project/<< parameters.working_directory >>
this allows you to not take care of the paths everywhere but set once and let the rest as it was before
- when: | ||
condition: | ||
equal: [ true, << parameters.do_checkout >> ] | ||
steps: | ||
# in auth0 build files are committed | ||
- checkout | ||
- checkout |
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.
to me this looks like checking out with an extra step :) what do you want to achieve?
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.
🤦
Add monorepo support for some js jobs:
js_install_dependencies_job.yml
- solves issue of not having ci config in the app rootjs_yarn_runner_job.yml
- same as abovejs_push_build_to_bucket_job.yml
- in auth0, for now build files are versioned, so wee need to checkout before pushing assets