Skip to content

Commit ce2efd8

Browse files
authored
Merge branch 'main' into ashwin-run-integ-onTag
2 parents 792d589 + 5c85092 commit ce2efd8

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/callable-docs-update.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,22 @@ jobs:
5858
git fetch origin main pre-prod/main
5959
git checkout pre-prod/main
6060
# Use -X theirs to automatically resolve conflicts in favor of main
61-
git merge origin/main --no-edit -X theirs
61+
git merge origin/main --no-edit -X theirs --allow-unrelated-histories
62+
echo "MERGE COMPLETE"
6263
git push origin pre-prod/main
6364
6465
# Now create a new branch from the updated pre-prod/main
6566
git checkout -b $TEMP_BRANCH_NAME
6667
67-
- name: Update API references in the docs site
68+
- name: Setup yarn berry and Update API references
6869
working-directory: ./docs
6970
run: |
70-
yarn clean-references -- -p amplify-js
71+
npm install -g corepack
72+
corepack enable
73+
yarn -v
74+
75+
# Update API references
76+
yarn && yarn clean-references -- -p amplify-js
7177
git add .
7278
git commit --allow-empty -m "chore: Update amplify-js API references"
7379

.github/workflows/push-integ-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ on:
1313
jobs:
1414
e2e:
1515
secrets: inherit
16-
uses: ./.github/workflows/callable-release-verification.yml
16+
uses: ./.github/workflows/callable-release-verification.yml

0 commit comments

Comments
 (0)