-
Notifications
You must be signed in to change notification settings - Fork 13
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
enforce base package to build first #118
Conversation
|
@@ -34,7 +34,7 @@ | |||
"nx-build-test-skip-cache": "pnpm run build-test --skip-nx-cache", | |||
"nx-test-skip-cache": "pnpm run test --skip-nx-cache", | |||
"build": "nx run-many -t build --parallel=1", | |||
"build-test": "nx run-many -t style,build,test", | |||
"build-test": "nx run-many -t style,build,test --projects=@openzeppelin/defender-base-client,* --parallel=false", |
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.
This is the relevant change, the rest are just pre-commit format changes
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.
This should not be necessary since parallel=1 should still run sequentially. Is it not the case?
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.
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.
Interesting. Sounds good. Thanks
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
pnpm nx-build-test-skip-cache command was failing due to parallel building, some packages depend on base to build properly, so I changed secuential builds, this is slower but seems to be necesary.
cc @tirumerla