document:
dsl: '1.0.2'
namespace: test
name: run-script-example
version: '0.1.0'
do:
- runScript:
run:
script:
language: js
code: >
function hello() {
console.log("logged before the 'throw' statement");
throw new Error("This is a test error");
}
hello();
return: all