Skip to content

GitHub Actions CI

Terminal window
tinkerise add ci

The ci module is considered installed when any of these files already exist:

  • .github/workflows/ci.yml
  • .github/workflows/ci.yaml
  • .github/workflows/test.yml
  • .github/workflows/test.yaml

ci is a config-only enhancement. It does not install npm packages.

It generates one workflow file:

  • .github/workflows/ci.yml

The generated workflow is dynamic and adapts to your project:

  • Uses your detected package manager (npm, pnpm, yarn, or bun)
  • Runs lint only when lint tooling or scripts exist
  • Runs typecheck only when TypeScript is installed
  • Runs test only when test tooling/scripts exist
  • Runs build only when a build script exists
  • Uses Node matrix 20 and 22 for Node-based projects
  • Uses Bun setup action for Bun projects
  • Creates .github/workflows/ci.yml
  • Adds no runtime dependencies
  • Leaves your package.json unchanged

If your project already has CI workflow files, tinkerise marks the module as already installed during detection. If a write conflict occurs during enhancement runs, the CLI shows a diff and lets you accept or skip changes.