Merge branch 'improve_job_xsweet' into 'master'

fix(job-xsweet): improve error and stream handling

See merge request !584
9 jobs for master in 11 minutes and 49 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #55889
build

00:04:21

 
  Test
passed #55893
lint:commits

00:00:13

passed #55891
lint:js

00:00:57

passed #55892
lint:json

00:00:15

passed #55890
lint:style

00:00:16

passed #55894
test

00:04:36

54.41%
 
  Audit
failed #55895
allowed to fail
audit

00:00:17

 
  Production
passed #55896
pages

00:01:49

 
  Deploy
passed pages:deploy

00:00:01

 
Name Stage Failure
failed
audit Audit
                pubsweet-client > @pubsweet/ui > babel-jest >                
babel-plugin-istanbul > test-exclude > micromatch > braces
├───────────────┼──────────────────────────────────────────────────────────────┤
More info https://nodesecurity.io/advisories/786
└───────────────┴──────────────────────────────────────────────────────────────┘
47 vulnerabilities found - Packages audited: 122625
Severity: 8 Low | 1 Moderate | 38 High
Done in 4.43s.
ERROR: Job failed: exit code 1