node-orb
node-orb copied to clipboard
feat: optionally store artifacts after script in run job
SEMVER Update Type:
- [ ] Major
- [x] Minor
- [ ] Patch
Description:
- add a parameter to upload a path to artifacts after running a script in the
runjob
Motivation:
Running a script often produces new files to be stored as artifacts. For example, many front-end projects use a bundler such as Webpack or Vite, and TypeScript projects need to be transpiled to JavaScript. These tools are often controlled with a build, compile or webpack script.
After this step, the produced files often need to be persisted somewhere, and artifacts seems like a good place.
Checklist:
- [x] All new jobs, commands, executors, parameters have descriptions.
- [ ] Usage Example version numbers have been updated.
- [ ] Changelog has been updated.