devops

Standardize TypeScript/Node CI/CD pipelines with GitHub Actions and pnpm.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/jjmendezrodriguez/jm-claude-plugin --skill devops-jjmendezrodriguez
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: devops
Source: https://github.com/jjmendezrodriguez/jm-claude-plugin/tree/main/skills/devops
Command: npx skills add https://github.com/jjmendezrodriguez/jm-claude-plugin --skill devops-jjmendezrodriguez

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents broken merges and unreliable releases by standardizing how TypeScript/Node teams set up CI/CD with pnpm and GitHub Actions.

Core Features & Use Cases

  • CI pipeline minimum standard: Enforces a predictable order of checks (lint → typecheck → test → build → security audit) so failures are caught early and consistently.
  • GitHub Actions best practices: Uses pinned action major versions, pnpm caching, and frozen-lockfile installs to keep CI deterministic and fast.
  • Merge protection and incident-style troubleshooting: Defines required status checks for protected branches and provides practical failure triage patterns (lockfile drift, flaky tests, OOM builds, audit overrides).

Quick Start

Use this Skill to generate or repair your GitHub Actions workflow so that every pull request to main runs lint, typecheck, tests, build, and a high-severity security audit with pnpm frozen-lockfile and proper dependency caching.

Frequently Asked Questions about devops

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

FAQPage Schema
How do I set up a GitHub Actions CI pipeline for pnpm with frozen-lockfile?

To set up a GitHub Actions CI pipeline for pnpm, configure pinned action versions, enable dependency caching, and enforce frozen-lockfile installs to keep builds deterministic and fast. Run checks in a strict order: lint, typecheck, test, build, then security audit.

Why does my pnpm lockfile drift break CI on the main branch?

pnpm lockfile drift breaks CI when dependencies are installed without the frozen-lockfile flag, allowing unexpected version updates. Prevent this by enforcing frozen-lockfile installations in your GitHub Actions workflow and requiring this status check on protected branches.

What is the best way to configure required status checks for branch protection in GitHub?

The best way to configure branch protection is to require lint, typecheck, test, build, and security audit status checks without bypass permissions. This ensures every pull request to main passes predictable, deterministic checks before merging safely.

Does GitHub Actions support caching for pnpm to speed up TypeScript CI pipelines?

Yes, GitHub Actions supports caching for pnpm to speed up TypeScript CI pipelines. Configure pnpm dependency caching in your workflow to reduce installation times and maintain deterministic builds across pipeline runs.

How do I fix flaky tests and OOM builds in a TypeScript Node CI pipeline?

To fix flaky tests and OOM builds in a TypeScript Node CI pipeline, apply standardized troubleshooting patterns for common failures. Ensure your GitHub Actions workflow uses pinned action versions and proper dependency caching to reduce resource inconsistencies.

When should I run a security audit in my CI pipeline?

You should run a security audit in your CI pipeline after lint, typecheck, test, and build steps complete. Running a high-severity security audit at the end of the ordered job ensures vulnerabilities are caught consistently before any safe deployment.