Skip to content

Commit 6308b68

Browse files
authored
Merge branch 'main' into tyllark/flutter-google-service-plugin-typo
2 parents d2a00aa + 41a42b2 commit 6308b68

File tree

349 files changed

+736597
-15672
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

349 files changed

+736597
-15672
lines changed

.github/CODEOWNERS

Lines changed: 118 additions & 120 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: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
name: Accessibility Scan
22
on:
33
pull_request:
4-
branches: [main]
4+
branches: [main, pre-prod/main]
55
types: [opened, synchronize]
66
env:
77
BUILD_DIR: 'client/www/next-build'
88
jobs:
99
accessibility:
1010
name: Runs accessibility scan on changed pages
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-22.04
1212
steps:
1313
- name: Checkout branch
1414
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
1515
- name: Setup Node.js 20
16-
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
16+
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
@@ -32,7 +34,7 @@ jobs:
3234
const buildDir = process.env.BUILD_DIR;
3335
return getChangedPages({github, context, buildDir});
3436
- name: Run site
35-
run: |
37+
run: |
3638
python -m http.server 3000 -d ${{ env.BUILD_DIR }} &
3739
sleep 5
3840
- name: Run accessibility tests on changed/new MDX pages

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Test
22
on:
33
pull_request:
4-
branches: [main, next-release/main]
4+
branches: [main, next-release/main, pre-prod/main]
55
types: [opened, synchronize]
66
env:
77
BUILD_DIR: 'client/www/next-build'
@@ -13,9 +13,11 @@ jobs:
1313
- name: Checkout Repo
1414
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
1515
- name: Setup Node.js 20.x
16-
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
16+
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: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ jobs:
1414
with:
1515
ref: main
1616
- name: Setup Node.js 20
17-
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
17+
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
@@ -38,9 +40,11 @@ jobs:
3840
with:
3941
ref: ${{ github.head_ref }}
4042
- name: Setup Node.js 20
41-
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
43+
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: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,16 @@ permissions:
88
id-token: write
99
jobs:
1010
LinkChecker:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-22.04
1212
steps:
1313
- name: Checkout repository
1414
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
1515
- name: Setup Node.js 20
16-
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
16+
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
@@ -27,12 +29,12 @@ jobs:
2729
const { checkProdLinks } = require('./tasks/link-checker.js');
2830
return await checkProdLinks();
2931
- name: Configure AWS Credentials
30-
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
32+
uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # v4.1.0
3133
with:
3234
role-to-assume: arn:aws:iam::464149486631:role/github_action_read_slack_webhook_url
3335
aws-region: us-west-2
3436
- name: Read secrets from AWS Secrets Manager into environment variables
35-
uses: aws-actions/aws-secretsmanager-get-secrets@98c2d6bf1dd67c2575fa2bb14294aa64103d426c # v2.0.5
37+
uses: aws-actions/aws-secretsmanager-get-secrets@fbd65ea98e018858715f591f03b251f02b2316cb # v2.0.8
3638
with:
3739
secret-ids: |
3840
SLACK_WEBHOOK_URL

.github/workflows/check_for_console_errors.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@ permissions:
99
contents: read
1010
jobs:
1111
CheckConsoleErrors:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-22.04
1313
steps:
1414
- name: Checkout repository
1515
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
1616
- name: Setup Node.js 20.x
17-
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
17+
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_deleted_assets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
echo ${{ env.PR_NUMBER }} >> $artifactName
3333
echo ${{ steps.set-deleted-files-count.outputs.result }} >> $artifactName
3434
- name: Upload the deleted assets file to artifacts
35-
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
35+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
3636
with:
3737
name: ${{ env.ARTIFACT_NAME }}
3838
path: '${{ env.ARTIFACT_NAME }}.txt'

.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_for_new_fragments.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Block PRs with New Fragments
22
on:
33
pull_request:
4-
branches: [main]
4+
branches: [main, pre-prod/main]
55
jobs:
66
checkForNewFragments:
77
name: Check for new fragments

0 commit comments

Comments
 (0)