Skip to content

Implementar entrega contínua (CD) #25

@PauloGoncalvesBH

Description

@PauloGoncalvesBH

Descreva a solução que você deseja
Ter entrega contínua.
Ao realizar push para a master deve realizar todas as etapas necessárias e publicar no NPM.

Descreva as alternativas que você considerou

  • Implementar o Semantic Release na CI para pushes na branch.
  • Remover npm standard-version.
  • Atualizar o contributing.md e informar sobre a CD.
  • Incluir badge do semantic-release.

Importante

  • Nesse workflow de CD deve realizar todas os jobs já criados, como lint, commitlint e testes. Se algum quebrar a release é abortada.
  • Deve ser gerado changelog. Analisar como o semantic-release gera.

Material de apoio:

Etapas do semantic-release:

Step Description
Verify Conditions Verify all the conditions to proceed with the release.
Get last release Obtain the commit corresponding to the last release by analyzing Git tags.
Analyze commits Determine the type of release based on the commits added since the last release.
Verify release Verify the release conformity.
Generate notes Generate release notes for the commits added since the last release.
Create Git tag Create a Git tag corresponding to the new release version.
Prepare Prepare the release.
Publish Publish the release.
Notify Notify of new releases or errors.

PRÉ-REQUISITO

Somente implementar entrega contínua com os testes de API finalizados. Está sendo tratado na issue #1.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions