How to sync Github with npm

Asked

Viewed 48 times

2

Is there any way to update the package in the npm as I send updates to my repository’s master branch?

  • 2

    You can use Github Actions. Circle CI is also an option. Any CI tool actually... :-)

1 answer

3


What you need is an automated build process, or IC, continuous integration of code, this process is responsible for compiling or transpilation, in the case of javascript, run tests and package the artifact in an npm package, for example!

There are several applications of continuous integration (Agreement) or build:

It may seem laborious but over time you will realize the value of having an automated pipeline, will ensure that you do not break a package by forgetting something, since the process can give you some guarantees; and it is clear that automation saves a considerable amount of work every time having to generate the package and upload.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.