Skip to content

Nx Cloud Staging

GitHub App

Nx Cloud Staging

GitHub App

The Nx Cloud Github App lets you access the result of every run — with all its logs and build insights — straight from your PR.

Get Started

After installing the Nx Cloud app, you need to update your CI pipeline to provision two env variables:

  • NX_BRANCH should be a PR number or branch name
  • NX_RUN_GROUP can be a job ID. It can also be left blank: in this case, Nx will group runs based on some heuristics.

Setting Variables in Azure

variables:
  NX_BRANCH: $(System.PullRequest.PullRequestNumber)
  NX_RUN_GROUP: $(Build.BuildNumber)

Setting Variables in Github Actions

env:
  NX_BRANCH: ${{ github.event.number }}
  NX_RUN_GROUP: ${{ github.run_id }}

Setting Variables in Travis CI

NX_BRANCH, NX_RUN_GROUP will be set automatically based on the env variables provided by Travis CI, so there should be nothing for you to do. You can always explicitly set NX_BRANCH and NX_RUN_GROUP

Setting Variables in Circle CI

NX_BRANCH, NX_RUN_GROUP will be set automatically based on the env variables provided by Circle CI, so there should be nothing for you to do. You can always explicitly set NX_BRANCH and NX_RUN_GROUP.

Learn More

Developer

Nx Cloud Staging is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

Report abuse