Latest Updates

Documenting code, one commit at a time.

Enforcing Code Quality: Adding Lint Checks to Your TypeScript CI/CD Pipeline

In the learn-cicd-typescript-starter project, our focus is on building robust and reliable CI/CD pipelines for TypeScript applications. A critical aspect of maintaining a healthy codebase is ensuring consistent code quality and style. While developers can run lint checks locally, integrating these checks directly into your Continuous Integration (CI) pipeline offers a powerful safety net,

Read more

Automating Our TypeScript Project with GitHub Actions CI

The Need for Continuous Integration

Our learn-cicd-typescript-starter project, like any growing codebase, benefits immensely from automated checks. Manual testing and deployment are not only time-consuming but also prone to human error. To ensure code quality, catch bugs early, and streamline our development process, we needed a robust Continuous Integration (CI) system that could

Read more

From 'Force Failure' to 'Check Node Version': Refining CI/CD Workflows

The AnaMVB57/learn-cicd-typescript-starter project, designed to provide a foundational understanding of Continuous Integration and Continuous Deployment (CI/CD) practices for TypeScript applications, recently saw an important refinement in its workflow definition.

The Problem

In CI/CD pipelines, every step contributes to the overall clarity and maintainability of the workflow.

Read more

Integrating Vitest into GitHub Actions for Robust TypeScript CI

Introduction

The learn-cicd-typescript-starter project aims to demonstrate best practices for Continuous Integration and Continuous Deployment with TypeScript. A crucial step in any robust CI/CD pipeline is the automated execution of tests, ensuring code quality and stability throughout the development lifecycle.

The Challenge

Manually running tests locally, or worse, relying solely on

Read more

Streamlining CI/CD: Why We Switched from pnpm to npm in Our TypeScript Project

In the learn-cicd-typescript-starter project, which focuses on demonstrating continuous integration and deployment patterns for TypeScript applications, we recently encountered and addressed a subtle but impactful issue within our CI/CD pipeline. The goal of this project is to provide a reliable and understandable foundation for learning CI/CD, and consistency is paramount.

Read more

Boosting CI Performance with pnpm in GitHub Actions

Every second counts in continuous integration. For the learn-cicd-typescript-starter project, which focuses on building robust CI/CD pipelines for TypeScript applications, optimizing dependency management was a key area for improvement. While npm and yarn have served us well, the shift to pnpm offered a compelling opportunity to enhance performance and efficiency within our GitHub Actions

Read more

Ensuring Robust CI/CD: Correcting `pnpm` Dependency Management in GitHub Actions

For developers working on the learn-cicd-typescript-starter project, establishing a reliable Continuous Integration/Continuous Delivery (CI/CD) pipeline is fundamental. This project is designed to help users get started with CI/CD practices using TypeScript, and a crucial part of any CI process is consistently managing project dependencies.

The Problem: An Unrecognized pnpm Command

Read more