Skip to content
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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Js monorepo #103

wants to merge 10 commits into from

Conversation

magrytos
Copy link
Collaborator

@magrytos magrytos commented Oct 26, 2023

Add monorepo support for some js jobs:

js_install_dependencies_job.yml - solves issue of not having ci config in the app root
js_yarn_runner_job.yml - same as above
js_push_build_to_bucket_job.yml - in auth0, for now build files are versioned, so wee need to checkout before pushing assets

@magrytos magrytos marked this pull request as ready for review October 26, 2023 14:44
@EtienneGuerlais EtienneGuerlais requested review from charlene1804 and a team October 26, 2023 14:47
@@ -13,11 +13,13 @@ steps:
- checkout
- run:
name: Install dependencies
command: yarn --immutable
command: |
Copy link
Contributor

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

Comment on lines 9 to 15
- when:
condition:
equal: [ true, << parameters.do_checkout >> ]
steps:
# in auth0 build files are committed
- checkout
- checkout
Copy link
Contributor

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦

@magrytos magrytos requested a review from julien-may October 27, 2023 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants