Skip to content

Set up CI for an automatic PR when a new Bee-JS version is out #4

@Cafe137

Description

@Cafe137

create-swarm-app should always use the latest stable bee-js version available.

It should be automatized in the CI to automatically open a new pull request whenever a new bee-js version is out.

It can be done two ways:

  • Setting up a workflow with cron trigger to periodically check
  • Setting up a hook (maybe needs a bee-js CI counterpart) that runs on a bee-js release

The second option is preferred, since we usually want to release bee-js and create-swarm-app at the same time, without having to wait for the cron to run.


It is also an option that create-swarm-app fetches the latest bee-js version during runtime so it works automatically without a release, but this can break if the bee-js release is breaking and the project template is no longer valid bee-js code. Not recommended.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions