Skip to content

Commit

Permalink
fix(ci): npm install canary test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavosu committed Dec 16, 2024
1 parent 4b3b13d commit 3269fe9
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/callable-canary-sampleapp-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
run: |
cp credentials-auth.spec.js new-react-app.spec.js
working-directory: amplify-js-samples-staging/cypress/integration/auth
- name: Install amplify
run: npm install amplify
- name: Install dependencies
run: npm install
working-directory: amplify-js-samples-staging/samples/react/auth/new-react-app
- name: Start new application and run test
run: |
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
working-directory: amplify-js-samples-staging/samples/next/auth/new-next-app
- name: Copy files from samples staging repo
run: |
rm -r ./samples/next/auth/new-next-app
rm -r ./samples/next/auth/new-next-app
cp -r ./samples/next/auth/auth-rsc ./samples/next/auth/new-next-app
working-directory: amplify-js-samples-staging
- name: Copy test file from samples staging repo
Expand All @@ -124,11 +124,6 @@ jobs:
- name: Install dependencies
run: npm install
working-directory: amplify-js-samples-staging/samples/next/auth/new-next-app
- name: Install amplify
run: |
npm install -g npm@latest
npm install aws-amplify -legacy-peer-deps
working-directory: amplify-js-samples-staging/samples/next/auth/new-next-app
- name: Start application and run test
run: |
../amplify-js/scripts/retry-yarn-script.sh -s \
Expand Down Expand Up @@ -194,7 +189,7 @@ jobs:
working-directory: amplify-js-samples-staging/samples/javascript/datastore/new-javascript-app
- name: Copy files from samples staging repo
run: |
rm -r ./samples/javascript/datastore/new-javascript-app
rm -r ./samples/javascript/datastore/new-javascript-app
cp -r ./samples/javascript/datastore/basic-crud ./samples/javascript/datastore/new-javascript-app
working-directory: amplify-js-samples-staging
- name: Copy test file from samples staging repo
Expand Down

0 comments on commit 3269fe9

Please sign in to comment.