Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.6 KiB

  1. # Node version requirement
  2. **semantic-release** is written using the latest [ECMAScript 2017](https://www.ecma-international.org/publications/standards/Ecma-262.htm) features, without transpilation which requires **requires Node version 8.3 or higher**.
  3. **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 Node 8 or higher.
  4. See our [Node Support Policy](node-support-policy.md) for our long-term promise regarding Node version support.
  5. ## Recommended solution
  6. ### Run at least one CI job with Node >= 8.3
  7. The recommended approach is to run the `semantic-release` command from a CI job running on Node 8.3 or higher. This can either be a job used by your project to test on Node >= 8.3 or a dedicated job for the release steps.
  8. See [CI configuration](../usage/ci-configuration.md) and [CI configuration recipes](../recipes/README.md#ci-configurations) for more details.
  9. ## Alternative solutions
  10. ### Use `npx`
  11. `npx` is included with npm >= 5.2 and can be used to download the latest [Node 8 package published on npm](https://www.npmjs.com/package/node). Use it to execute the `semantic-release` command.
  12. ```bash
  13. $ npx -p node@8 -c "npx semantic-release"
  14. ```
  15. **Note:**: See [What is npx](./FAQ.md#what-is-npx) for more details.
  16. ### Use `nvm`
  17. If your CI environment provides [nvm](https://github.com/creationix/nvm) you can use it to switch to Node 8 before running the `semantic-release` command.
  18. ```bash
  19. $ nvm install 8 && npx semantic-release
  20. ```