File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -58,16 +58,22 @@ jobs:
58
58
git fetch origin main pre-prod/main
59
59
git checkout pre-prod/main
60
60
# 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"
62
63
git push origin pre-prod/main
63
64
64
65
# Now create a new branch from the updated pre-prod/main
65
66
git checkout -b $TEMP_BRANCH_NAME
66
67
67
- - name : Update API references in the docs site
68
+ - name : Setup yarn berry and Update API references
68
69
working-directory : ./docs
69
70
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
71
77
git add .
72
78
git commit --allow-empty -m "chore: Update amplify-js API references"
73
79
Original file line number Diff line number Diff line change 13
13
jobs :
14
14
e2e :
15
15
secrets : inherit
16
- uses : ./.github/workflows/callable-release-verification.yml
16
+ uses : ./.github/workflows/callable-release-verification.yml
You can’t perform that action at this time.
0 commit comments