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

fix(ci): use yarn workspace to process release #144

Merged
merged 3 commits into from
Feb 18, 2022
Merged

Conversation

eunjae-lee
Copy link
Contributor

🧭 What and Why

Changes included:

  • use yarn workspace to run process-release.js

@eunjae-lee eunjae-lee requested a review from shortcuts February 18, 2022 13:34
Comment on lines +6 to 8
"createReleaseIssue": "yarn build && node dist/scripts/release/create-release-issue.js",
"processRelease": "yarn build && node dist/scripts/release/process-release.js",
"setHostsOptions": "yarn build && node dist/scripts/pre-gen/setHostsOptions.js"
Copy link
Member

Choose a reason for hiding this comment

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

Is this expected to have this path? Why isn't it dist/pre-gen or dist/release?

Copy link
Member

Choose a reason for hiding this comment

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

Oh because we include the openapitools.json config so it builds from the root structure? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah I didn't like it, but I think it's because I'm importing files outside the root of this package scripts (release.config.js and openapitools.json)

https://stackoverflow.com/a/58941798

@shortcuts
Copy link
Member

Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

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

Good!

We should merge this one before #142

@eunjae-lee
Copy link
Contributor Author

@shortcuts oops merged 142 first 😆

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