This repository ships with GitHub Actions workflows for quality, security, Docker validation, and GHCR publishing.
File:
.github/workflows/ci.yml
Behavior:
- installs dependencies
- runs
npm run build - runs
npm test - runs a CLI
--helpsmoke test - runs
npm pack --dry-run
File:
.github/workflows/security.yml
Behavior:
- dependency review on pull requests
npm auditchecks- CodeQL analysis
- Trivy filesystem scan with SARIF upload
File:
.github/workflows/docker.yml
Behavior:
- validates Docker builds on pull requests
- runs Trivy image scan on PR builds
- pushes images to GHCR on
main,master, and version tags
Files:
Dockerfile.dockerignore
The image builds the CLI in a builder stage and ships a runtime image that executes:
node dist/cli.jsPublished image name:
ghcr.io/<owner>/<repo>
Tags are generated from:
- branch refs
- git tags
- commit SHA
lateston the default branch
npm test
npm run build
docker build -t start-it-cli:local .- keep local build/test commands aligned with CI
- avoid adding checks that the repo cannot satisfy locally
- document new workflow expectations in this file