The Tasker project already uses a CI script on GitHub Actions, but in this lesson, we’ll enhance it by replacing the existing pnpm --filter
commands with optimized Nx commands for a more efficient CI pipeline.
We’ll cover how to scaffold a new CI configuration with:
❯
pnpm nx g ci-workflow
We’ll also take a quick detour to discuss namedInputs
in nx.json
, ensuring the cache invalidates appropriately whenever the CI config is updated.