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

Proposal: Trial Release Automation with GitHub Actions #18

Open
simonireilly opened this issue Dec 15, 2020 · 0 comments
Open

Proposal: Trial Release Automation with GitHub Actions #18

simonireilly opened this issue Dec 15, 2020 · 0 comments

Comments

@simonireilly
Copy link

User Story

In order to support a higher developer workload releases can be automated for candidate changes.

Proposal

When new functionality is added to the library a release should be prepared. This would mean that:

  1. Code merged into master would be added to a new patch (major.minor.patch) release.
  2. The patch release would be tested, packaged and published to NPM autonomously.
  3. Creating Major releases could still be manual.

(Optional): It could also be beneficial to use canary releases e.g. https://www.npmjs.com/package/next. This would enable release candidates to be packaged as canaries, deployed and used in dependant libraries for testing at an integration level before the official release is made.

Candidate Tools

Packaging

It could be possible to use an off the shelf tool for proposing the next release versions, packaging and tree shaking e.g.

Publishing

To publish it would be possible to use a GitHub action:

There are some clear instructions on how this can be done whilst using github to securely manage the secrets that are required for publishing here: https://sergiodxa.com/articles/github-actions-npm-publish

This will all most likely take some trial and error to get right but this could be a good opportunity to establish a best practice in this REPO and roll it out to other repositories 👍

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 a pull request may close this issue.

1 participant