From e6abdf670721b90b6b5e3dbe55b300f7b44f5a61 Mon Sep 17 00:00:00 2001 From: Joel Chen Date: Wed, 2 Dec 2020 08:11:15 -0800 Subject: [PATCH] ci run samples tests serially --- xclap.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xclap.js b/xclap.js index 4cea96891..da55b912f 100644 --- a/xclap.js +++ b/xclap.js @@ -78,7 +78,7 @@ const runAppTest = (dir, forceLocal) => { }; const localClap = Path.join("node_modules", ".bin", "clap"); - return exec({ cwd: dir }, `fyn --pg simple -q v i`) + return exec({ cwd: dir }, `fyn --pg simple -q v i --sl fyn-ci-${process.pid}.log`) .then(() => exec({ cwd: dir }, `npm test`)) .then(() => exec({ cwd: dir }, `${localClap} -n build`)); }; @@ -122,10 +122,10 @@ xclap.load({ const updatedStr = updated.join(" "); if (updatedStr.indexOf("@xarc/app") >= 0) { - tasks.push([".", ".build-react-component", ".test-tree-shaking"]); + tasks.push([".build-react-component", ".test-tree-shaking"]); } - return tasks; + return xclap.serial(tasks); }) .catch(err => { if (err.output.stderr.indexOf("No packages need updating") < 0) {