Workflows
A workflow is an alias made of steps.
boost add release --chain "lint+test,build,deploy"
aliases:
release:
steps:
- [lint, test]
- build
- deploy
retry: 2
- A step is an alias, a project task, or a plain command (
"npm ci"). - A list inside the steps (
[lint, test]) runs at the same time. Their output is labeled[lint],[test]. - Steps run in order. If one fails, the workflow stops, unless you set
continue_on_error: true. retry: 2retries a failing step up to two times, waiting a little longer each time.- Placeholders in any step are asked once at the start, and the values are shared by all steps.
Resume after a failure
boost release
✔ lint ✔ test ✔ build ✖ deploy
💡 Fix the problem, then continue from "deploy" with: boost release --resume
boost release --resume
↷ lint ↷ test ↷ build ✔ deploy
boost remembers which steps passed. --resume skips them. A successful run clears the memory.
Without saving
boost chain-alias build,test
boost chain-alias "lint+test,build" --continue-on-error
See what would run
boost release --dry-run