github-actions

Automates GitHub Actions workflows for Nx monorepos using composite actions and templates.

1|Updated Oct 18, 2025
One-click install
npx skills add https://github.com/JimmyPaolini/monorepo --skill github-actions-jimmypaolini
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-actions
Source: https://github.com/JimmyPaolini/monorepo/tree/main/documentation/skills/github-actions
Command: npx skills add https://github.com/JimmyPaolini/monorepo --skill github-actions-jimmypaolini

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automate the creation, testing, and maintenance of GitHub Actions workflows across an Nx monorepo using standardized patterns and templates.

Core Features & Use Cases

  • Composite action pattern: centralizes setup for workflows via a reusable action to reduce boilerplate.
  • Workflow templates and guidance: provides minimal templates for common tasks (lint, test, typecheck, format) and practical usage patterns.
  • Nx integration & troubleshooting: guides on using nx affected, fetch-depth 0 and best practices for reliable CI.

Quick Start

Create a new workflow by following the provided template and use the composite action to initialize pnpm and Node.js, then run nx affected to target lint and tests.

Frequently Asked Questions about github-actions

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

FAQPage Schema
How do I set up GitHub Actions workflows for an Nx monorepo?

Setting up GitHub Actions workflows for an Nx monorepo involves using a composite action to initialize pnpm and Node.js, then running nx affected to execute lint, test, and typecheck tasks across affected projects.

What is the composite action pattern in GitHub Actions?

The composite action pattern in GitHub Actions centralizes monorepo setup into a reusable action, reducing boilerplate by standardizing Node.js, pnpm, and Nx SHA configurations across multiple workflow templates.

Why does nx affected fail to detect changes in my GitHub Actions workflow?

nx affected fails to detect changes when git history is incomplete. You must configure fetch-depth 0 in your GitHub Actions workflow to ensure full history is available for accurate Nx affected computation.

Can I use standardized workflow templates for lint, test, and typecheck in GitHub Actions?

Yes, you can use standardized minimal workflow templates for lint, test, typecheck, and format tasks in GitHub Actions. These templates integrate with a composite setup action to provide consistent CI pipelines across your Nx projects.

How do I manage centralized versions for GitHub Actions in a monorepo?

Manage centralized versions for GitHub Actions by consolidating environment setup into a single composite action. This standardizes Node.js, pnpm, and Nx configurations, ensuring consistent versions across all workflow templates.

Do I need pnpm to use composite actions for Nx monorepos?

pnpm is required for the Nx monorepo composite action setup pattern. The reusable action specifically initializes pnpm alongside Node.js to manage dependencies and execute standardized workflow tasks.