aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lowjs/use-npm-ci.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/lowjs/use-npm-ci.patch')
-rw-r--r--testing/lowjs/use-npm-ci.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/lowjs/use-npm-ci.patch b/testing/lowjs/use-npm-ci.patch
new file mode 100644
index 0000000000..d57ef22e81
--- /dev/null
+++ b/testing/lowjs/use-npm-ci.patch
@@ -0,0 +1,13 @@
+See https://docs.npmjs.com/cli/ci.html
+
+--- a/Makefile
++++ b/Makefile
+@@ -84,7 +84,7 @@
+ cp util/root-certs.json lib/internal
+ touch lib/BUILT
+ node_modules/BUILT: package.json
+- npm install
++ npm ci
+ touch node_modules/BUILT
+
+ deps/duktape/src-low/duktape.c: $(shell find deps/duktape/src-input)