Skip to content

Commit e297d72

Browse files
author
aws-amplify-bot
committed
Merge remote-tracking branch 'origin/main' into pre-prod/main
2 parents 8ae075b + a3cd346 commit e297d72

File tree

34 files changed

+16989
-11841
lines changed

34 files changed

+16989
-11841
lines changed

.github/CODEOWNERS

Lines changed: 117 additions & 117 deletions
Large diffs are not rendered by default.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Set Yarn Berry
2+
description: Enable Yarn Berry in the workflow
3+
4+
runs:
5+
using: 'composite'
6+
steps:
7+
- name: Enable corepack
8+
run: corepack enable
9+
shell: bash
10+
- name: Set yarn version to berry
11+
run: yarn set version berry
12+
shell: bash
13+

.github/workflows/accessibility_scan.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
1717
with:
1818
node-version: 20.x
19+
- name: Set Yarn Berry
20+
uses: ./.github/actions/set_yarn_berry
1921
- name: Install dependencies
2022
run: yarn
2123
- name: Build

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
1717
with:
1818
node-version: 20.x
19+
- name: Set Yarn Berry
20+
uses: ./.github/actions/set_yarn_berry
1921
- name: Install Dependencies
2022
run: yarn
2123
- name: Run tests

.github/workflows/check_bundle_size.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
1818
with:
1919
node-version: 20.x
20+
- name: Set Yarn Berry
21+
uses: ./.github/actions/set_yarn_berry
2022
- name: Install dependencies
2123
run: yarn
2224
- name: Run build and analyze base bundle sizes
@@ -41,6 +43,8 @@ jobs:
4143
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
4244
with:
4345
node-version: 20.x
46+
- name: Set Yarn Berry
47+
uses: ./.github/actions/set_yarn_berry
4448
- name: Install dependencies
4549
run: yarn
4650
- name: Run build and analyze head bundle sizes

.github/workflows/check_for_broken_links.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
1717
with:
1818
node-version: 20.x
19+
- name: Set Yarn Berry
20+
uses: ./.github/actions/set_yarn_berry
1921
- name: Install Dependencies
2022
run: yarn
2123
- name: Run Link Checker

.github/workflows/check_for_console_errors.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
1818
with:
1919
node-version: 20.x
20+
- name: Set Yarn Berry
21+
uses: ./.github/actions/set_yarn_berry
2022
- name: Install Dependencies
2123
run: yarn
2224
- name: Run Build

.github/workflows/check_for_new_files.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
script: |
2121
const { getAddedFiles } = require('./.github/workflows/scripts/check_for_new_files.js');
2222
return await getAddedFiles({github, context, core});
23+
- name: Set yarn Berry
24+
uses: ./.github/actions/set_yarn_berry
2325
- name: Install npm package ignore
2426
if: ${{ steps.set-added-files-count.outputs.result > 0 }}
2527
run: yarn add [email protected] -W # help verify CODEOWNERS

.github/workflows/check_pr_for_broken_links.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
1616
with:
1717
node-version: 20.x
18+
- name: Set Yarn Berry
19+
uses: ./.github/actions/set_yarn_berry
1820
- name: Install Dependencies
1921
run: yarn
2022
- name: Run Build

.github/workflows/spellcheck.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
1515
with:
1616
node-version: 20.x
17+
- name: Set Yarn Berry
18+
uses: ./.github/actions/set_yarn_berry
1719
- name: Install Dependencies
1820
run: yarn
1921
- name: Run Spellcheck

0 commit comments

Comments
 (0)