semantic-release-plus
master
master
  • Introduction
  • Usage
    • Getting started
    • Installation
    • CI Configuration
    • Configuration
    • Plugins
    • Workflow configuration
    • Shareable configurations
  • Extending
    • Plugins
    • Shareable configuration
  • Recipes
    • CI configurations
      • CircleCI 2.0
      • Travis CI
      • GitLab CI
      • GitHub Actions
      • Jenkins CI
    • Git hosted services
      • Git authentication with SSH keys
    • Release Workflow
      • Publishing on distribution channels
      • Publishing maintenance releases
      • Publishing pre-releases
    • Monorepos
      • nx monorepo
    • Utility
      • Get expected next version
  • Developer guide
    • JavaScript API
    • Plugin development
    • Shareable configuration development
  • Support
    • Resources
    • Frequently Asked Questions
    • Troubleshooting
    • Node version requirement
    • Node Support Policy
    • Git version requirement
Powered by GitBook
On this page
  • Recommended solution
  • Run at least one CI job with a version of Node that meets our version requirement
  • Alternative solutions
  • Use npx to execute in the latest LTS version of Node
  • Use nvm

Was this helpful?

  1. Support

Node version requirement

PreviousTroubleshootingNextNode Support Policy

Last updated 3 years ago

Was this helpful?

semantic-release is written using the latest features, without transpilation which requires requires Node version 14.17 or higher.

semantic-release is meant to be used in a CI environment as a development support tool, not as a production dependency. Therefore, the only constraint is to run the semantic-release in a CI environment providing version of Node that meets our version requirement.

See our for our long-term promise regarding Node version support.

Recommended solution

Run at least one CI job with a version of Node that meets our version requirement

The recommended approach is to run the semantic-release command from a CI job running on the latest available LTS version of node. This can either be a job used by your project to test on the latest Node LTS version or a dedicated job for the release steps.

See and for more details.

Alternative solutions

Use npx to execute in the latest LTS version of Node

npx is included with npm >= 5.2 and can be used to download the latest . Use it to execute the semantic-release command.

$ npx -p node@lts -c "npx semantic-release"

Note: See for more details.

Use nvm

$ nvm install 'lts/*' && npx semantic-release

If your CI environment provides you can use it to switch to the latest LTS version of Node before running the semantic-release command.

nvm
ECMAScript 2017
Node Support Policy
CI configuration
Node LTS package published on npm
CI configuration recipes
What is npx