node-orb icon indicating copy to clipboard operation
node-orb copied to clipboard

feat: optionally store artifacts after script in run job

Open loderunner opened this issue 1 year ago • 0 comments

SEMVER Update Type:

  • [ ] Major
  • [x] Minor
  • [ ] Patch

Description:

  • add a parameter to upload a path to artifacts after running a script in the run job

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.

loderunner avatar Feb 12 '24 10:02 loderunner