- pull master locally
- merge any dependabot PRs and fix problems if necessary
⚠️ don't bump thecommon-uiversion in package.json, this will be done automatically later during the publish step- run
yarn && yarn buildto make sure the build is successful - update browserslist when necessary
- run
git statusto check that working space is clean
npm login- username: camunda-cloud
- password: ask @pedesen
this writes an access token to ~/.npmrc:
//registry.npmjs.org/:_authToken=<TOKEN>
- make sure a potential redirect to github packages is commented out in your ~/.npmrc file:
#@camunda-cloud:registry=https://npm.pkg.github.com/
- run
yarn publish - enter new version
- run
git push
- pull master locally
- manually bump dependencies and peerDependencies to common-ui in package.json
⚠️ don't commit, leave changes staged- run
yarn publish - enter new version
- run
git push
- add redirect to ~/.npmrc:
@camunda-cloud:registry=https://npm.pkg.github.com/
to get the Github Token: Github: Settings -> Developer Settings -> Personal access tokens -> Generate new token
- run
yarn publish - don't bump version again, keep current version
- run
yarn publish - don't bump version again, keep current version
- comment out redirect in ~/.npmrc:
#@camunda-cloud:registry=https://npm.pkg.github.com/