Skip to content

Commit 0ca69f6

Browse files
author
Ashwin Kumar
committed
yarn berry test
1 parent 29a8e68 commit 0ca69f6

File tree

2 files changed

+23
-22
lines changed

2 files changed

+23
-22
lines changed

.github/actions/node-and-build/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ runs:
1313
node-version: 20
1414
env:
1515
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
16+
- name: Setup yarn berry
17+
run: |
18+
npm install -g corepack
19+
corepack enable
20+
yarn -v
1621
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
1722
id: cache-build-artifacts
1823
with:

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

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -60,30 +60,26 @@ jobs:
6060
# Use -X theirs to automatically resolve conflicts in favor of main
6161
git merge origin/main --no-edit -X theirs --allow-unrelated-histories
6262
echo "MERGE COMPLETE"
63-
git push origin pre-prod/main
63+
git push origin pre-prod/main-test
6464
65-
# Now create a new branch from the updated pre-prod/main
65+
# Now create a new branch from the updated pre-prod/main-test
6666
git checkout -b $TEMP_BRANCH_NAME
6767
68-
- name: Setup yarn berry and Update API references
69-
working-directory: ./docs
70-
run: |
71-
npm install -g corepack
72-
corepack enable
73-
yarn -v
68+
# - name: Setup yarn berry and Update API references
69+
# working-directory: ./docs
70+
# run: |
71+
# # Update API references
72+
# yarn && yarn clean-references -- -p amplify-js
73+
# git add .
74+
# git commit --allow-empty -m "chore: Update amplify-js API references"
7475

75-
# Update API references
76-
yarn && yarn clean-references -- -p amplify-js
77-
git add .
78-
git commit --allow-empty -m "chore: Update amplify-js API references"
79-
80-
- name: Create a docs PR to merge api references back into the docs site
81-
working-directory: ./docs
82-
env:
83-
TEMP_BRANCH_NAME: ${{ needs.docs-update-prep.outputs.branch_name }}
84-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_AMPLIFY_JS_WRITE }}
85-
run: |
86-
git push origin $TEMP_BRANCH_NAME
76+
# - name: Create a docs PR to merge api references back into the docs site
77+
# working-directory: ./docs
78+
# env:
79+
# TEMP_BRANCH_NAME: ${{ needs.docs-update-prep.outputs.branch_name }}
80+
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN_AMPLIFY_JS_WRITE }}
81+
# run: |
82+
# git push origin $TEMP_BRANCH_NAME
8783

88-
# Create PR from the temp branch to pre-prod/main
89-
gh pr create -B pre-prod/main -H $TEMP_BRANCH_NAME --title 'chore: amplify-js api references update' --body 'Merge the api references changes from the most recent release.'
84+
# # Create PR from the temp branch to pre-prod/main
85+
# gh pr create -B pre-prod/main -H $TEMP_BRANCH_NAME --title 'chore: amplify-js api references update' --body 'Merge the api references changes from the most recent release.'

0 commit comments

Comments
 (0)