---
# System prepended metadata

title: MACI NPM publish workflow

---

# MACI NPM publish workflow
![](https://i.imgur.com/kBseQgf.png)


1. manual: Bump the version
2. automated: Publish package(s) to NPM


## Bump the version

Maintainer bump the version of sub-package(s). Versioning should follow [semver](https://semver.org).

### Method

* [`lerna version`](https://github.com/lerna/lerna/tree/main/commands/version) is handy tool to bump sub-pakcage(s)


## Publish package(s) to NPM

CI will use the [`lerna publish from-package`](https://github.com/lerna/lerna/tree/main/commands/publish#bump-from-package) command to publish sub-package(s).

