Skip to content

Commit 8e8b3b9

Browse files
Bump uuid from 13.0.0 to 14.0.0 (#209)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mathieu Cloutier <cloutier.mat0@gmail.com>
1 parent c2c9da9 commit 8e8b3b9

4 files changed

Lines changed: 12 additions & 6 deletions

File tree

.github/workflows/test-appsync-utils.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141

4242
- name: Integration test with LocalStack invoke method
4343
run: bash ./test_in_docker.sh
44+
env:
45+
TEST_IMAGE_NAME: ${{ env.NODEJS_IMAGE_NAME }}:${{ env.NODE_VERSION }}
4446

4547
localstack-test:
4648
runs-on: ubuntu-latest

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
"jest": "^30.3.0"
3232
},
3333
"dependencies": {
34-
"uuid": "^13.0.0"
34+
"uuid": "^14.0.0"
3535
}
3636
}

test_in_docker.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ set -euo pipefail
77
# This script both runs the test, and acts as its own entrypoint
88

99
if [ -z ${TEST_IN_DOCKER_ENTRYPOINT:-} ]; then
10+
if [ -z "${TEST_IMAGE_NAME:-}" ]; then
11+
echo "WARNING: TEST_IMAGE_NAME is not set. Set it to the docker image to use for testing. eg. public.ecr.aws/lambda/nodejs:22"
12+
exit 1
13+
fi
1014
# test script
1115
echo Test script $0
1216
script_path=$(readlink -f $0)
@@ -18,7 +22,7 @@ if [ -z ${TEST_IN_DOCKER_ENTRYPOINT:-} ]; then
1822
--workdir /test \
1923
--entrypoint bash \
2024
-e TEST_IN_DOCKER_ENTRYPOINT=1 \
21-
${TEST_IMAGE_NAME:-public.ecr.aws/lambda/nodejs:18} /test_in_docker.sh
25+
${TEST_IMAGE_NAME} /test_in_docker.sh
2226
else
2327
# entrypoint
2428
echo Entrypoint

0 commit comments

Comments
 (0)