mirror of
https://github.com/wled/WLED.git
synced 2025-04-19 12:27:17 +00:00
use npm ci
This commit is contained in:
parent
a4680b7216
commit
fa2949af7d
@ -10,7 +10,7 @@ if node_ex is None:
|
||||
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 @@ else:
|
||||
# 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)
|
||||
exit(exitCode)
|
||||
|
Loading…
x
Reference in New Issue
Block a user