npm ci
npm testReleases are published to npm via GitHub Actions.
- Bump the version in
package.json(follow semver) - Update
CHANGELOG.mdwith a summary of what changed - Open a PR, get it reviewed and merged to
master - Trigger the release from the Actions tab:
- Select NPM release → Run workflow → run from
master
- Select NPM release → Run workflow → run from
The workflow will publish to npm and create a GitHub release with auto-generated notes.
Note: Only Mapbox maintainers with write access to this repository can trigger the release workflow. External contributors can open and contribute to PRs, but releases are always cut by the owning team.