From ee67bf4b52411845b2e3ec97953d9892b43171f9 Mon Sep 17 00:00:00 2001 From: Masahiro Wada Date: Sun, 3 Mar 2024 02:32:03 +0000 Subject: [PATCH] add running build --- test/run_test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/run_test.sh b/test/run_test.sh index 6c508c89..d3e83c47 100755 --- a/test/run_test.sh +++ b/test/run_test.sh @@ -1,6 +1,7 @@ TARGET=$1 echo "Running tests for ${TARGET}" npm --prefix /serverless-s3-local install +npm --prefix /serverless-s3-local -w serverless-s3-local run build npm --prefix /serverless-s3-local -w ${TARGET} install npm --prefix /serverless-s3-local -w ${TARGET} run start & -/serverless-s3-local/test/wait-for-it.sh -t 600 localhost:3000 -- npm --prefix /serverless-s3-local -w ${TARGET} run test \ No newline at end of file +/serverless-s3-local/test/wait-for-it.sh -t 600 localhost:3000 -- npm --prefix /serverless-s3-local -w ${TARGET} run test