Skip to content

Update workflow file to auto publish when version in package json is changed#146

Open
samirsilwal wants to merge 1 commit intoleapfrogtechnology:mainfrom
samirsilwal:feat/automate-release
Open

Update workflow file to auto publish when version in package json is changed#146
samirsilwal wants to merge 1 commit intoleapfrogtechnology:mainfrom
samirsilwal:feat/automate-release

Conversation

@samirsilwal
Copy link
Copy Markdown
Contributor

Changes

  • Add publish job to bump the version in package json and release the package
  • It utilizes existing script in release.sh and run the script when update is merge to main branch

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.75%. Comparing base (5e6b77d) to head (2a9940e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #146   +/-   ##
=======================================
  Coverage   87.75%   87.75%           
=======================================
  Files           5        5           
  Lines         147      147           
  Branches       25       25           
=======================================
  Hits          129      129           
  Misses         15       15           
  Partials        3        3           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@samirsilwal
Copy link
Copy Markdown
Contributor Author

should resolve #102 (comment)


- name: Run release script
env:
GITHUB_TOKEN: ${{ secrets.RIBBY_GITHUB_TOKEN }}
Copy link
Copy Markdown
Contributor Author

@samirsilwal samirsilwal Oct 20, 2024

Choose a reason for hiding this comment

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

Are the token available with same name everywhere @mesaugat ? or else will update it

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I can keep it with the same name.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

cool

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 this pull request may close these issues.

2 participants