Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.01 KB

DEPLOY.md

File metadata and controls

41 lines (25 loc) · 1.01 KB

How to deploy

Before deployment

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

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

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

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

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