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

[918E] Fix continuous integration studio-ui build #3983

Merged
merged 3 commits into from
Jun 12, 2024

Conversation

jvega190
Copy link
Member

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",
Copy link
Member

@rart rart Jun 12, 2024

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

Copy link
Member

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",
Copy link
Member

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 Show resolved Hide resolved
@jvega190 jvega190 requested a review from rart June 12, 2024 18:26
@sumerjabri sumerjabri marked this pull request as ready for review June 12, 2024 19:54
@sumerjabri sumerjabri merged commit 441bbb0 into craftercms:develop Jun 12, 2024
3 checks passed
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.

3 participants