From 6d500c7d669a85791c964660ff1580e87c627734 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Fri, 15 Dec 2023 18:28:16 +0000 Subject: [PATCH] fix: skip build in CI In CI we always build after an install, which happens before testing so we can skip the build step since all build output should have been cached. --- src/config/user.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/config/user.js b/src/config/user.js index c4835703d..2cdf00837 100644 --- a/src/config/user.js +++ b/src/config/user.js @@ -15,7 +15,9 @@ const defaults = { debug: false, // test cmd options test: { - build: true, + // no need to build before testing in CI since we build after installing + // deps so building again is redundant + build: process.env.CI == null, runner: 'node', target: ['node', 'browser', 'webworker'], watch: false,