nx/docs/courses/pnpm-nx-next/lessons/07-optimize-ci.md

734 B
Raw Blame History

title videoUrl duration
Use Nx Commands on CI https://youtu.be/ywlilx9-jNk 4:43

The Tasker project already uses a CI script on GitHub Actions, but in this lesson, well enhance it by replacing the existing pnpm --filter commands with optimized Nx commands for a more efficient CI pipeline.

Well cover how to scaffold a new CI configuration with:

pnpm nx g ci-workflow

Well also take a quick detour to discuss namedInputs in nx.json, ensuring the cache invalidates appropriately whenever the CI config is updated.