From fa2949af7db68dd1e139491d68fe01cee3f25d13 Mon Sep 17 00:00:00 2001 From: netmindz Date: Sat, 22 Feb 2025 17:39:00 +0000 Subject: [PATCH] use npm ci --- pio-scripts/build_ui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pio-scripts/build_ui.py b/pio-scripts/build_ui.py index 047fac442c..eb7a01b366 100644 --- a/pio-scripts/build_ui.py +++ b/pio-scripts/build_ui.py @@ -10,7 +10,7 @@ else: # Install the necessary node packages for the pre-build asset bundling script print('\x1b[6;33;42m' + 'Installing node packages' + '\x1b[0m') - env.Execute("npm install") + env.Execute("npm ci") # Call the bundling script exitCode = env.Execute("npm run build") @@ -18,4 +18,4 @@ # If it failed, abort the build if (exitCode): print('\x1b[0;31;43m' + 'npm run build fails check https://kno.wled.ge/advanced/compiling-wled/' + '\x1b[0m') - exit(exitCode) \ No newline at end of file + exit(exitCode)