Skip to content

GitHub Actions

The generated GitHub Actions workflow runs on pull requests and pushes to main. It installs dependencies with the detected package manager, validates commit messages on pull requests when commit checking was enabled during setup, and runs the configured CI checks. The CLI, dashboard, and workflow generator share check detection logic.

The workflow file is generated during setup and is not continuously rewritten. After changing lintlane.checks or adding project scripts, review the workflow and run doctor to identify missing CI steps. The local tsc --noEmit fallback is not emitted as a CI step; define a typecheck script to include it in CI.

Checkpoint What it checks
lintlane check Biome diagnostics in working files.
lintlane run or the dashboard CI tab Enabled project checks on your machine.
Pre-commit hook Configured lint-staged tasks on staged files.
Commit-message hook The message for the new commit.
Pre-push hook Messages in outgoing commit history.
GitHub Actions Dependency installation, configured project checks, and PR commit validation when enabled.
  1. Update your scripts and lintlane.checks as needed.
  2. Run npx lintlane run --list to inspect detection.
  3. Run npx lintlane doctor to identify missing workflow steps.
  4. Review and update .github/workflows/biome.yml.
  5. Run your checks locally, commit the workflow change, and inspect the next Actions run.

Check that the workflow includes the same steps, dependencies are installed from the current lockfile, and required scripts exist. A typecheck that only works through the local fallback needs an explicit project script before it can be generated for CI.

Diagnose the setup