From d74500461baa9644600f4de53e071a14c4a6e028 Mon Sep 17 00:00:00 2001 From: Vasi Vasireddy Date: Fri, 27 Dec 2024 14:23:21 -0800 Subject: [PATCH] use npm run build to build layer --- nodejs/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodejs/build.sh b/nodejs/build.sh index 54b62fe31..7a3257abb 100755 --- a/nodejs/build.sh +++ b/nodejs/build.sh @@ -16,7 +16,7 @@ cd wrapper-adot || exit npm install || exit cd ../../opentelemetry-lambda/nodejs || exit -npm install || exit +npm install && npm run build|| exit mv ./packages/layer/build/workspace/otel-handler ./packages/layer/build/workspace/otel-handler-upstream cp "$SOURCEDIR"/scripts/otel-handler ./packages/layer/build/workspace/otel-handler