Skip to content

aws-samples/aws-codeartifact-semantic-release-example

AWS CodeArtifact Semantic Release Example

Summary

This pattern shows how to integrate semantic-release into your project to automate the entire package release workflow of determining the next version number, generating release notes, and publishing the package to AWS CodeArtifact.

In this example, we will be using GitHub with semantic-release to automate the release workflow of an npm package.

Prerequisites and Limitations

Prerequisites

Limitations

Architecture

Architecture Image

The diagram shows the following workflow:

  1. Developers commit changes to the GitHub repository following a standardized commit message format (enforced by commitizen).

  2. The GitHub Action release workflow assumes the IAM role for publishing to CodeArtifact.

  3. The npm package is published to the CodeArtifact repository.

Tools

Best Practices

Related Resources

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.