diff --git a/.github/workflows/callable-canary-sampleapp-tests.yml b/.github/workflows/callable-canary-sampleapp-tests.yml index ee06376b43d..149d0d52f86 100644 --- a/.github/workflows/callable-canary-sampleapp-tests.yml +++ b/.github/workflows/callable-canary-sampleapp-tests.yml @@ -184,8 +184,7 @@ jobs: working-directory: amplify-js-samples-staging/samples/javascript/datastore - name: Install amplify run: | - npm install -g npm@latest - npm install aws-amplify -legacy-peer-deps + npm install aws-amplify@latest working-directory: amplify-js-samples-staging/samples/javascript/datastore/new-javascript-app - name: Remove existing src folder run: rm -rf src