swf-runtime 1.0.0-alpha9

Runtime engine for Serverless Workflow DSL — execute, validate, and orchestrate workflows
Documentation
document:
  dsl: '1.0.2'
  namespace: test
  name: run-script-example
  version: '0.1.0'
do:
  - runScript:
      run:
        script:
          language: js
          code: >
            // there is no reserved word func in JavaScript, it should be function
            func hello() {
                console.log("hello from script");
                throw new Error("This is a test error");
            }
            
            hello();
        return: stderr