-
Notifications
You must be signed in to change notification settings - Fork 0
DEVOPS OVERVIEW
Daniel Arndt edited this page Mar 19, 2026
·
1 revision
This template includes a simple but useful DevOps flow based on GitHub Actions.
File: .github/workflows/ci.yml
Runs on:
- push to
main - pull requests
Pipeline steps:
npm cinpm run lintnpm run typechecknpm run test:unitnpm run build
This is the minimum quality gate for the project.
File: .github/workflows/publish-preview.yml
Runs on:
- push to
main
Purpose:
- publish a preview package for internal testing
- validate real installation before a stable release
- generate versions like
1.0.0-dev.15
File: .github/workflows/release.yml
Runs on:
- Git tags matching
v*
Example:
git tag v1.0.0
git push origin v1.0.0Purpose:
- sync version from tag
- build and test the package
- publish the stable version
- generate release assets
CLI packages are often installed directly by other developers or internal teams.
Because of that, it is valuable to validate:
- the build
- the tests
- the packaging process
- the installation path
- the release path