Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.16 KB

DEPLOY.md

File metadata and controls

45 lines (30 loc) · 1.16 KB

How to deploy

Before deployment

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

Via shell script

  1. Run ./deploy.sh

  2. Add release notes: https://github.com/configcat/common-js/releases

  3. Update common-js in js-sdk and node-sdk and js-ssr-sdk and re-deploy both packages.

  4. Test all packages manually!

or

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.15

    You can follow the build status here.

  4. Add release notes: https://github.com/configcat/common-js/releases

  5. Update common-js in js-sdk, node-sdk and js-ssr-sdk and re-deploy all packages.

  6. Test all packages manually!