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-ssr-sdk/actions/workflows/js-ssr-ci.yml

Via shell script

  1. Run ./deploy.sh

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

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

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

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

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

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

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

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