Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Add a GitHub workflow to automate release process #58

Merged
merged 5 commits into from
Jun 4, 2024

Conversation

balins
Copy link
Contributor

@balins balins commented May 28, 2024

Description

The new workflow will be triggered by workflow dispatch. It bumps the package version, publishes it to NPM and creates a new GitHub release.

Requirements before merging:

  • Add NPM_TOKEN GitHub secret to this repository
  • Create a (public) deploy key in repository settings and grant it write access
  • Add the private key as a repo secret DEPLOY_KEY
  • Adjust the workflow to use yarn

Motivation and Context

We want to release new versions via CI and standardize the way we do it across other JS repos.

How has this been tested?

Successfully published other JS clients releases.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to
    not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@balins balins requested a review from karkakol May 28, 2024 11:38
@balins balins self-assigned this May 28, 2024
@balins balins removed the request for review from karkakol May 28, 2024 13:24
@balins balins marked this pull request as draft May 28, 2024 13:25
@balins balins force-pushed the jb/gh-actions-auto-publish-package-and-create-release branch from 71a5c1b to 8d1dd49 Compare May 28, 2024 14:04
@balins balins requested a review from karkakol May 28, 2024 14:05
@balins balins marked this pull request as ready for review May 28, 2024 14:05
@balins balins requested a review from mironiasty May 28, 2024 14:07
Copy link
Contributor

@mironiasty mironiasty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Let's see how it will work for next releases :)

Copy link
Member

@karkakol karkakol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@balins balins force-pushed the jb/gh-actions-auto-publish-package-and-create-release branch from 8d1dd49 to 8bbed97 Compare May 29, 2024 13:42
@karkakol
Copy link
Member

tests :(

@karkakol karkakol requested review from graszka22 and mironiasty June 3, 2024 13:33
@balins balins merged commit a56524b into main Jun 4, 2024
3 checks passed
@balins balins deleted the jb/gh-actions-auto-publish-package-and-create-release branch June 4, 2024 06:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants