nx-ci

Executes Nx affected commands for testing, linting, and building in GitHub Actions.

23|1|Updated Oct 14, 2025
One-click install
npx skills add https://github.com/qauth-labs/qauth --skill nx-ci
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-ci
Source: https://github.com/qauth-labs/qauth/tree/main/.claude/skills/nx-ci
Command: npx skills add https://github.com/qauth-labs/qauth --skill nx-ci

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies managing complex CI/CD workflows by automating affected command execution, reducing build times, and enhancing developer productivity.

Core Features & Use Cases

  • Affected Command Automation: Run tests, linting, and builds only on impacted projects to save time during integration. For example, triggering pnpm nx affected -t test after code changes to validate modifications efficiently.
  • GitHub Actions Integration: Facilitate setting up CI pipelines with predefined workflows involving actions like checkout, setup-node, and cache management.
  • Nx Cloud Benefits: Use Nx Cloud to enable remote caching, distributed execution, and build analytics, improving build performance in collaborative environments.

Quick Start

When setting up your development pipeline, run pnpm nx affected -t test to perform targeted testing on affected projects.

Frequently Asked Questions about nx-ci

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run tests only on affected Nx workspace projects in CI?

To run tests on affected Nx projects, execute commands like `pnpm nx affected -t test` in your CI pipeline. This targets only impacted projects since code changes, skipping unaffected areas to save integration time and improve build reliability.

What is the best way to set up GitHub Actions workflows for Nx affected commands?

The best way to set up GitHub Actions for Nx affected commands is using predefined workflows. These integrate checkout, setup-node, and cache management actions to automate testing, linting, and building only impacted projects for faster CI pipelines.

Does Nx Cloud improve build performance for CI pipelines?

Nx Cloud improves CI build performance by enabling remote caching, distributed execution, and build analytics. These features enhance build speed in collaborative environments by reusing cached results and distributing tasks across multiple agents.

Can I use Nx affected commands to lint and build only changed projects?

Yes, you can lint and build only changed projects using Nx affected commands. By running targeted commands for impacted workspace projects since code changes, you automate linting and building processes to reduce build times and enhance developer productivity in CI/CD.

How do I debug CI failures when using Nx affected commands?

Debug CI failures when using Nx affected commands by analyzing the targeted test, lint, and build outputs for impacted projects. The Skill aids in efficiently diagnosing pipeline failures by isolating issues to only the code changes that triggered the workflow.