From e63d9d6b7796b3405628bbfb75204eb4540b3cf8 Mon Sep 17 00:00:00 2001 From: Matthias Giger Date: Wed, 6 Mar 2024 19:32:53 +0100 Subject: [PATCH] fix(test): proper check in tests release-npm --- utility/configuration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utility/configuration.js b/utility/configuration.js index 0a6e7ef..df7f416 100644 --- a/utility/configuration.js +++ b/utility/configuration.js @@ -287,7 +287,7 @@ export const writePackageJson = async () => { resetIgnoredProperties(contents) // Avoid adding additional properties in CI environment. - if (!isCI && typeof jest !== 'undefined') { + if (!isCI || typeof jest !== 'undefined') { await writePackageJsonFile(contents) }