Skip to content

Commit 3d1bbf6

Browse files
authored
Merge pull request #15725 from ethereum/staging
Deploy v10.7.0
2 parents a29f02b + 6232f1e commit 3d1bbf6

File tree

204 files changed

+3866
-5811
lines changed

Some content is hidden

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

204 files changed

+3866
-5811
lines changed

.all-contributorsrc

Lines changed: 1385 additions & 4497 deletions
Large diffs are not rendered by default.

.github/workflows/chromatic.yml

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,8 @@ name: Chromatic Publish and Testing
66
# Event for the workflow
77
on:
88
pull_request:
9-
types:
10-
- opened
11-
- synchronize
12-
- ready_for_review
13-
paths:
14-
# Only run on file changes in any of these paths
15-
- "src/components/**/*"
16-
- "src/pages/**/*"
17-
- "src/layouts/**/*"
18-
- ".storybook/**/*"
19-
- "tailwind.config.ts"
20-
- "src/styles/**/*"
9+
branches: [master, staging, "test/**"]
10+
types: [opened, synchronize, ready_for_review]
2111

2212
# List of jobs
2313
jobs:
@@ -26,28 +16,36 @@ jobs:
2616
runs-on: ubuntu-latest
2717
# Job steps
2818
steps:
29-
# 👇 Version 2 of the action
3019
- name: Checkout repo
31-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
3221
with:
33-
fetch-depth: 0 # 👈 Required to retrieve git history
22+
fetch-depth: 0
23+
# Tells the checkout which commit hash to reference
24+
ref: ${{ github.event.pull_request.head.ref }}
25+
env:
26+
CHROMATIC_BRANCH: ${{ github.event.pull_request.head.ref || github.ref_name }}
27+
CHROMATIC_SHA: ${{ github.event.pull_request.head.sha || github.ref }}
28+
CHROMATIC_SLUG: ${{ github.repository }}
29+
3430
- name: Setup pnpm
3531
uses: pnpm/action-setup@v2
3632
with:
3733
version: 8
34+
3835
- name: Setup Node.js
3936
uses: actions/setup-node@v3
4037
with:
4138
node-version: 20
42-
cache: 'pnpm'
39+
cache: "pnpm"
40+
4341
- name: Install deps
44-
# 👇 Install dependencies with the same package manager used in the project (replace it as needed), e.g. yarn, npm, pnpm
4542
run: pnpm install
43+
4644
- name: Publish to Chromatic
47-
# 👇 Adds Chromatic as a step in the workflow
4845
uses: chromaui/action@v1
49-
# Options required for Chromatic's GitHub Action
5046
with:
5147
projectToken: fee8e66c9916
5248
# 👇 Only fail if Storybook contains stories that error
5349
exitZeroOnChanges: true
50+
onlyChanged: true # enables TurboSnap
51+
zip: true

.github/workflows/claude.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Claude PR Assistant
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
pull_request_review_comment:
7+
types: [created]
8+
issues:
9+
types: [opened, assigned]
10+
pull_request_review:
11+
types: [submitted]
12+
13+
jobs:
14+
claude-code-action:
15+
if: |
16+
(
17+
github.event_name == 'issue_comment' &&
18+
contains(github.event.comment.body, '@claude') &&
19+
contains('minimalsm,pettinarip,wackerow,corwintines,nloureiro,konopkja', github.event.comment.user.login)
20+
) ||
21+
(
22+
github.event_name == 'pull_request_review_comment' &&
23+
contains(github.event.comment.body, '@claude') &&
24+
contains('minimalsm,pettinarip,wackerow,corwintines,nloureiro,konopkja', github.event.comment.user.login)
25+
) ||
26+
(
27+
github.event_name == 'pull_request_review' &&
28+
contains(github.event.review.body, '@claude') &&
29+
contains('minimalsm,pettinarip,wackerow,corwintines,nloureiro,konopkja', github.event.review.user.login)
30+
) ||
31+
(
32+
github.event_name == 'issues' &&
33+
contains(github.event.issue.body, '@claude') &&
34+
contains('minimalsm,pettinarip,wackerow,corwintines,nloureiro,konopkja', github.event.issue.user.login)
35+
)
36+
runs-on: ubuntu-latest
37+
permissions:
38+
contents: read
39+
pull-requests: read
40+
issues: read
41+
id-token: write
42+
steps:
43+
- name: Checkout repository
44+
uses: actions/checkout@v4
45+
with:
46+
fetch-depth: 1
47+
48+
- name: Run Claude PR Action
49+
uses: anthropics/claude-code-action@beta
50+
with:
51+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
52+
timeout_minutes: "60"

.github/workflows/crowdin-ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,22 @@ jobs:
1818
- name: Check out code
1919
uses: actions/checkout@v3
2020

21+
- name: Setup pnpm
22+
uses: pnpm/action-setup@v2
23+
with:
24+
version: 8
25+
2126
- name: Set up Node.js
2227
uses: actions/setup-node@v3
2328
with:
24-
node-version: 18
29+
node-version: 20
30+
cache: 'pnpm'
2531

2632
- name: Install dependencies
27-
run: yarn install
33+
run: pnpm install
2834

2935
- name: Install ts-node
30-
run: yarn global add ts-node
36+
run: pnpm add -g ts-node
3137

3238
- name: Set up git
3339
run: |

.github/workflows/generate-review-report.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,22 @@ jobs:
1010
- name: Check out code
1111
uses: actions/checkout@v3
1212

13+
- name: Setup pnpm
14+
uses: pnpm/action-setup@v2
15+
with:
16+
version: 8
17+
1318
- name: Set up Node.js
1419
uses: actions/setup-node@v3
1520
with:
16-
node-version: 18
21+
node-version: 20
22+
cache: 'pnpm'
1723

1824
- name: Install dependencies
19-
run: yarn install
25+
run: pnpm install
2026

2127
- name: Install ts-node
22-
run: yarn global add ts-node
28+
run: pnpm add -g ts-node
2329

2430
- name: Run script
2531
run: npx ts-node -O '{"module":"commonjs"}' ./src/scripts/crowdin/reports/generateReviewReport.ts

.github/workflows/get-crowdin-contributors.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,22 @@ jobs:
1212
- name: Check out code
1313
uses: actions/checkout@v3
1414

15+
- name: Setup pnpm
16+
uses: pnpm/action-setup@v2
17+
with:
18+
version: 8
19+
1520
- name: Set up Node.js
1621
uses: actions/setup-node@v3
1722
with:
18-
node-version: 18
23+
node-version: 20
24+
cache: 'pnpm'
1925

2026
- name: Install dependencies
21-
run: yarn install
27+
run: pnpm install
2228

2329
- name: Install ts-node
24-
run: yarn global add ts-node
30+
run: pnpm add -g ts-node
2531

2632
- name: Set up git
2733
run: |

.github/workflows/get-leaderboard-reports.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,22 @@ jobs:
1212
- name: Check out code
1313
uses: actions/checkout@v3
1414

15+
- name: Setup pnpm
16+
uses: pnpm/action-setup@v2
17+
with:
18+
version: 8
19+
1520
- name: Set up Node.js
1621
uses: actions/setup-node@v3
1722
with:
18-
node-version: 18
23+
node-version: 20
24+
cache: 'pnpm'
1925

2026
- name: Install dependencies
21-
run: yarn install
27+
run: pnpm install
2228

2329
- name: Install ts-node
24-
run: yarn global add ts-node
30+
run: pnpm add -g ts-node
2531

2632
- name: Set up git
2733
run: |

.github/workflows/get-translation-progress.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,22 @@ jobs:
1212
- name: Check out code
1313
uses: actions/checkout@v3
1414

15+
- name: Setup pnpm
16+
uses: pnpm/action-setup@v2
17+
with:
18+
version: 8
19+
1520
- name: Set up Node.js
1621
uses: actions/setup-node@v3
1722
with:
18-
node-version: 18
23+
node-version: 20
24+
cache: 'pnpm'
1925

2026
- name: Install dependencies
21-
run: yarn install
27+
run: pnpm install
2228

2329
- name: Install ts-node
24-
run: yarn global add ts-node
30+
run: pnpm add -g ts-node
2531

2632
- name: Set up git
2733
run: |

.github/workflows/import-community-events.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,19 @@ jobs:
1212
- name: Check out code
1313
uses: actions/checkout@master
1414

15+
- name: Setup pnpm
16+
uses: pnpm/action-setup@v2
17+
with:
18+
version: 8
19+
1520
- name: Set up Node.js
1621
uses: actions/setup-node@v3
1722
with:
18-
node-version: 18
23+
node-version: 20
24+
cache: 'pnpm'
1925

2026
- name: Install dependencies
21-
run: yarn install
27+
run: pnpm install
2228

2329
- name: Set up git
2430
run: |
@@ -37,7 +43,7 @@ jobs:
3743
git checkout -b "automated-update-${{ env.TIMESTAMP }}" origin/dev
3844
3945
- name: Run script
40-
run: yarn events-import
46+
run: pnpm events-import
4147
env:
4248
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
4349

.github/workflows/update-chains.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,22 @@ jobs:
1313
- name: Checkout repository
1414
uses: actions/checkout@v4
1515

16+
- name: Setup pnpm
17+
uses: pnpm/action-setup@v2
18+
with:
19+
version: 8
20+
1621
- name: Set up Node.js
1722
uses: actions/setup-node@v3
1823
with:
19-
node-version: '20'
24+
node-version: 20
25+
cache: 'pnpm'
2026

2127
- name: Install dependencies
22-
run: yarn install
28+
run: pnpm install
2329

2430
- name: Install ts-node
25-
run: yarn global add ts-node
31+
run: pnpm add -g ts-node
2632

2733
- name: Update chains data
2834
run: npx ts-node -O '{"module":"commonjs"}' ./src/scripts/update-chains.ts

0 commit comments

Comments
 (0)