Any CI tool requires tight integration with your existing version control system. Nx Cloud offers first class integration with GitHub in the following ways.
Easy Workspace Setup
Section titled “Easy Workspace Setup”
Get started quickly with Nx Cloud with our GitHub connection process. Connect your workspace by selecting your repo and organization from GitHub, and Nx Cloud will create a pull request with all the necessary configuration. User access is automatically connected to GitHub, and a PR is created to connect your workspace. Your repo now has distributed caching in less than 5 minutes.
You can also create a new workspace from a template for experimentation. This workspace will come pre-configured with Nx Cloud and examples of core Nx concepts. Create a new Nx workspace to get started.
Connect your Nx Cloud account to GitHub to use this feature.
Pull Request Insights
Section titled “Pull Request Insights”
Good CI checks require fast and easy access to results. That's why Nx Cloud will update your PR with the current running status of your tasks and a convenient link to your Nx Cloud results and logs. Take advantage of the enhanced developer experience of structured and searchable logs. Quick insight to PR task progress, so you're not stuck waiting for every task to complete. And with Nx Replay, developers can quickly replay tasks locally to avoid running tasks that CI has already completed.
This feature is available in workspaces with the Nx Cloud GitHub App installed.
Access Control
Section titled “Access Control”
Nx Cloud organization access can be linked to a Github organization, so that memberships are automatically synced. This allows Nx Cloud to fit in to any existing on-boarding or off-boarding process. There's no need to manually manage users separately. Get your engineers Nx Cloud access right alongside their GitHub access so they can get to work fast. Use personal access tokens to further enhance your security.
Connect your Nx Cloud account to GitHub to use this feature. Members of your GitHub organization will also need to connect their GitHub accounts to access the organization.
Connect to GitHub
Section titled “Connect to GitHub”Get started by connecting your Nx Cloud account to GitHub. This will allow you to access GitHub-powered organizations that you're a member of, easily connect workspaces, and configure automatic access control through GitHub.
Connect to GitHubConnect your Nx Cloud account to GitHub in your profile settings
Note that it doesn't matter what method you use to log into Nx Cloud, connecting your GitHub account is a separate step.
Connect to GitHub during Initial Setup
Section titled “Connect to GitHub during Initial Setup”- Visit Nx Cloud and click Connect a workspace at the top.
- Select Connect existing repository from the dropdown.
- Follow the prompts to select a repo.
- If that repo is controlled by a GitHub organization, you will be prompted to use that organization.
- Follow the prompts to create a pull request to complete your connection to Nx Cloud.
Connect a workspace to Nx CloudConnect an Nx workspace in GitHub to Nx Cloud
Connect an Organization to GitHub after Initial Setup
Section titled “Connect an Organization to GitHub after Initial Setup”If you already have an organization in Nx Cloud, and you'd like to use your GitHub organization to manage access to it:
- Go to the organization in Nx Cloud while logged in as an admin user.
- Click on Settings in the top menu
- Go to Connect GitHub organization in the sidebar
- Follow the prompts there to connect to GitHub. Note that for every workspace in the Nx Cloud organization, there must be a corresponding repo in the GitHub organization.
Connect a Workspace to GitHub after Initial Setup
Section titled “Connect a Workspace to GitHub after Initial Setup”If you already have a workspace connected to Nx Cloud, and you'd like to connect it to a GitHub repo to enable PR insights, install the Nx Cloud GitHub App.