-
Notifications
You must be signed in to change notification settings - Fork 67
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
Modify release pipeline to install dependencies in a workflow directly and not through package.json #172
Comments
@asyncapi/tsc_members Pinging you for important visibility. Please have a look at above change. It is not mandatory, but you need to let me know you do not need it, as by default I will include all Node.js projects. Even if you agree with the change, you still need to be aware that most probably (95% a chance) I will create a follow-up issue in your repo that explains what changes you have to make in your |
ok, trying things out in asyncapi/generator#815 |
ok, it was smooth -> asyncapi/generator#815 after suggested changes to generator, release worked like a charm |
|
Reason/Context
Comes from asyncapi/generator#801
tl;dr
Installation of
semantic-release
and other release dependencies on a CI level is already practiced in our Go projects and works like a charm. Just have a look at:.github/workflows
directory, so we can replicate it automatically as other workflow files in all repos.semantic-release
, dependencies that we now explicitly add as a dependence (like@semantic-release/github
) are actually included insemantic-release
. So we only need to explicitly install onlyconventional-changelog-conventionalcommits
semantic-release
as a dependency but just use npx likenpx semantic-release
(just locking to specific version)Description
What I do with this task is:
topics_to_include: common-release
.release
property inpackage.json
, unless I know that like in case parser-js release steps are a bit custompackage.json
(removerelease
prop) for the repos that will start using global.releaserc
. It is just to much effort. This should be done by maintainers at some point of time. Maybe I will find some time to run a script that in all these repos will create agood first issue
issue to modifypackage.json
conventional-changelog-conventionalcommits
with specific version, and runnpx semantic-release
(of specific version) instead ofnpm run release
that callssemantic-release
package.json
(removerelease
script). It is just too much effort. This should be done by maintainers at some point of time. Maybe I will find some time to run a script that in all these repos will create agood first issue
issue to modifypackage.json
This is not a mandatory change. If you are a maintainer of Node.js project and you hate this new approach, just please lemme know in a comment to not add
common-release
topic to your repository. Just keep in mind that because of it, once this PR is merged, you will no longer receive updates to release pipeline and you will have to mange it separatelyThe text was updated successfully, but these errors were encountered: