WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 4cb7910

Browse files
author
Ashwin Kumar
committed
testing yarn berry on ci
1 parent 29a8e68 commit 4cb7910

File tree

4 files changed

+26
-25
lines changed

4 files changed

+26
-25
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ runs:
1313
node-version: 20
1414
env:
1515
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
16+
- name: Setup yarn berry
17+
shell: bash
18+
run: |
19+
npm install -g corepack
20+
corepack enable
21+
yarn -v
1622
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
1723
id: cache-build-artifacts
1824
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.'

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ concurrency:
88
on:
99
push:
1010
branches:
11-
- replace-with-your-branch
11+
- ashwin-ci-test
1212

1313
jobs:
1414
e2e:

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,5 @@
144144
"overrides": {
145145
"tar": "6.2.1",
146146
"cross-spawn": "7.0.5"
147-
},
148-
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
147+
}
149148
}

0 commit comments

Comments
 (0)