Production releases happen automatically when you push to master:
-
Merge your PR to
masterwith conventional commit messages:fix:- Patch version bump (0.18.3 → 0.18.4)feat:- Minor version bump (0.18.3 → 0.19.0)feat!:orBREAKING CHANGE:- Major version bump (0.18.3 → 1.0.0)
-
The CI automatically:
- Creates version commits and tags
- Publishes to npm with
latesttag
Publish test versions from any branch without affecting production:
-
Push your branch to GitHub:
git push origin your-branch-name
-
Go to GitHub Actions → Publish Prerelease → Run workflow
-
Select your branch: In the dropdown, choose "Use workflow from: your-branch-name"
-
Configure inputs:
- Prerelease identifier:
rc(creates versions like0.18.4-rc.0,0.18.4-rc.1) - NPM dist-tag: Leave empty (auto-uses
rc) or specify custom - Skip versioning: Uncheck (to create new versions)
- Skip git push: Uncheck (to push version commits)
- Prerelease identifier:
-
Click "Run workflow"
- Builds all packages from your branch
- Creates prerelease version (e.g.,
0.18.4-rc.0) - Commits and pushes version to your branch
- Publishes to npm with
rctag - Generates install instructions
# Install by tag
npm install @mondaydotcomorg/atp-server@rc
# Or install specific version
npm install @mondaydotcomorg/atp-server@0.18.4-rc.0rc- Release candidatebeta- Beta versionalpha- Alpha versioncanary- Canary/nightly builds- Custom - Any string (e.g.,
feature-xyz)
Each time you run the workflow with the same preid, the number increments:
- First run:
0.18.4-rc.0 - Second run:
0.18.4-rc.1 - Third run:
0.18.4-rc.2
The base version (0.18.4) is determined by your conventional commits since the last release.
# 1. Push your branch
git push origin gadsh/plugin-compiler
# 2. Go to Actions → Publish Prerelease → Run workflow
# - Branch: gadsh/plugin-compiler
# - Prerelease identifier: rc
# - Leave other options default
# 3. Users install with:
npm install @mondaydotcomorg/atp-compiler@rc# Use a custom identifier like "test" or "feature-xyz"
# This creates versions like: 0.18.4-test.0
# Users install with:
npm install @mondaydotcomorg/atp-server@test- Prereleases don't affect the
latestnpm tag - You can publish from any branch
- Multiple prereleases can exist simultaneously with different tags
- Use
skip_versionif you manually versioned and just want to publish - Use
skip_git_pushfor testing without pushing commits