Skip to content

Commit fa2949a

Browse files
authored
use npm ci
1 parent a4680b7 commit fa2949a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pio-scripts/build_ui.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
else:
1111
# Install the necessary node packages for the pre-build asset bundling script
1212
print('\x1b[6;33;42m' + 'Installing node packages' + '\x1b[0m')
13-
env.Execute("npm install")
13+
env.Execute("npm ci")
1414

1515
# Call the bundling script
1616
exitCode = env.Execute("npm run build")
1717

1818
# If it failed, abort the build
1919
if (exitCode):
2020
print('\x1b[0;31;43m' + 'npm run build fails check https://kno.wled.ge/advanced/compiling-wled/' + '\x1b[0m')
21-
exit(exitCode)
21+
exit(exitCode)

0 commit comments

Comments
 (0)