-
Notifications
You must be signed in to change notification settings - Fork 32
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
[918E] Fix continuous integration studio-ui build #3983
Conversation
package.json
Outdated
@@ -64,7 +64,7 @@ | |||
}, | |||
"packageManager": "yarn@4.2.2", | |||
"scripts": { | |||
"build:all": "yarn workspaces foreach --include './ui/{npm-content,uppy,legacy,app}' -Ap run build-if-changed && yarn workspaces foreach --include './ui/{scss,guest}' -Ap run build-if-changed", | |||
"build:all": "yarn workspaces foreach --include './ui/uppy' -A run build-if-changed && yarn workspaces foreach --include './ui/{npm-content,legacy,app}' -Ap run build-if-changed && yarn workspaces foreach --include './ui/{scss,guest}' -Ap run build-if-changed", |
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.
The foreach doesn't make sense for a single workspace. I think there's a way of running for a single. Try something like...
"build:all": "yarn workspace @craftercms/uppy build-if-changed && ...
or
"build:all": "yarn workspace ./ui/uppy build-if-changed && ...
...or adding run
to those before the script name
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.
Just confirmed yarn workspace @craftercms/uppy build-if-changed
works.
package.json
Outdated
@@ -64,7 +64,7 @@ | |||
}, | |||
"packageManager": "yarn@4.2.2", | |||
"scripts": { | |||
"build:all": "yarn workspaces foreach --include './ui/{npm-content,uppy,legacy,app}' -Ap run build-if-changed && yarn workspaces foreach --include './ui/{scss,guest}' -Ap run build-if-changed", | |||
"build:all": "yarn workspaces foreach --include './ui/uppy' -A run build-if-changed && yarn workspaces foreach --include './ui/{npm-content,legacy,app}' -Ap run build-if-changed && yarn workspaces foreach --include './ui/{scss,guest}' -Ap run build-if-changed", |
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.
Just confirmed yarn workspace @craftercms/uppy build-if-changed
works.
https://github.com/craftersoftware/craftercms/issues/918