diff --git a/client-test-apps/js/api-model-relationship-app/package.json b/client-test-apps/js/api-model-relationship-app/package.json index b685055d1e..23609ad379 100644 --- a/client-test-apps/js/api-model-relationship-app/package.json +++ b/client-test-apps/js/api-model-relationship-app/package.json @@ -34,7 +34,9 @@ "web-vitals": "^2.1.4" }, "resolutions": { - "joi": "17.7.0" + "joi": "17.7.0", + "glob": "10.4.5", + "rimraf": "5.0.10" }, "scripts": { "start": "react-scripts start", @@ -70,4 +72,4 @@ "axios": "axios/dist/node/axios.cjs" } } -} +} \ No newline at end of file diff --git a/shared-scripts.sh b/shared-scripts.sh index 0e78dac6d9..f429ff878f 100755 --- a/shared-scripts.sh +++ b/shared-scripts.sh @@ -354,6 +354,8 @@ function _runCanaryTest { echo RUN Canary Test loadCacheFromBuildJob loadCache verdaccio-cache $CODEBUILD_SRC_DIR/../verdaccio-cache + # Set Node.js version to $AMPLIFY_NODE_VERSION as one of the package requires version ">= 18.18.0" + _setupNodeVersion $AMPLIFY_NODE_VERSION _installCLIFromLocalRegistry _loadTestAccountCredentials _setShell