nrwl / nx-cloud-workflows

MIT License
11 stars 6 forks source link

Nx Cloud Workflows

Re-usable workflow step

  1. Create your custom step in workflow-steps/
  2. Build everything: nx run-many -t build
  3. Commit everything
    1. Important: The generated dist/ files need to be checked in as well
  4. Push your changes

Process for Releasing New Versions

To release a new version, you'll need to run the Nx Cloud Workflow Release workflow . You would do this by providing the workflow with comma-separated commits that need cherry-picking, and the version you wish to release.

[!NOTE] If a new release is required, you only need to provide the version number. This is because the workflow is designed to automatically create the branch and tag from the main HEAD if the new version is a major one. In contrast, for minor or patch versions, the latest HEAD on the related major branch is used based on the version number.

Below is a summary of what the workflow does:

[!IMPORTANT] Always create tags off the release branches, and not directly on main. This allows the flexibility to work on main without unwarranted disruptions to users.