Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.35 KB

DEPLOY.md

File metadata and controls

49 lines (32 loc) · 1.35 KB

How to deploy

Before deployment

Make sure the CI is running: https://github.com/configcat/js-sdk/actions/workflows/js-ci.yml

Updating configcat-common only

  1. Run ./deploy.sh

  2. Make sure new package is available via NPM: https://www.npmjs.com/package/configcat-js

  3. Add release notes: https://github.com/configcat/js-sdk/releases

  4. Update configcat-js dependency in all sample applications: And test them by following their README.md.

or

Steps to deploy manually

  1. Run tests

     npm test
  2. Create a new version (patch, minor, major) Increase version number by using npm version patch | minor | major

    Example: increasing patch version

    npm version patch
  3. Push tag to remote

    If you tag the commit, a GitHub action automatically publishes the package to NPM.

    git push origin <new version>

    Example: git push origin v1.1.17

    You can follow the build status here -> https://github.com/configcat/js-sdk/actions/workflows/js-ci.yml

  4. Make sure new package is available via NPM: https://www.npmjs.com/package/configcat-js

  5. Add release notes: https://github.com/configcat/js-sdk/releases

  6. Update configcat-js dependency in all sample applications: And test them by following their README.md.