Nx
Nx on GitHub

From PNPM Workspaces to Distributed CI

Juri Strumpflohner
Juri Strumpflohner

In this course, we'll walk through a step-by-step guide using the Tasker application as our example. Tasker is a task management app built with Next.js, structured as a PNPM workspace monorepo. The monorepo contains the Next.js application which is modularized into packages that handle data access via Prisma to a local DB, UI components, and more.

Throughout the course, we'll take incremental steps to enhance the monorepo:

  1. Adding Nx
  2. Configuring and fine-tuning local caching
  3. Defining task pipelines to ensure correct task execution order
  4. Optimizing CI configuration with remote caching
  5. Adjusting the current CI configuration to enable task distribution
  6. Splitting and parallelizing Playwright e2e tests to reduce execution time from 20 minutes to 9 minutes

Monorepo World live replays available!

Watch the replays of exciting talks on developer tooling and monorepos! Catch all the insightful presentations from the event on our YouTube channel.