Skip to content

Commit a77ae69

Browse files
committed
fix: run npm ci with --ignore-scripts
1 parent a9a7733 commit a77ae69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Module.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public function createBuildContext(): Context
191191
$context->run('cd /build && composer config platform-check false');
192192
$context->run('cd /build && composer install --no-autoloader --ignore-platform-reqs --prefer-dist');
193193
if (file_exists("$basePath/package-lock.json")) {
194-
$context->run('cd /build && npm ci --no-audit');
194+
$context->run('cd /build && npm ci --ignore-scripts --no-audit');
195195
// Recursively compress individual files in node_modules
196196
$context->run('gzip -r /build/node_modules -k -f');
197197
}

0 commit comments

Comments
 (0)