Skip to content

Commit dc47374

Browse files
authored
Merge pull request #30020 from MetaMask/Version-v12.12.0
Version v12.12.0 RC
2 parents 84643b4 + 3e1cdf9 commit dc47374

File tree

829 files changed

+26616
-36603
lines changed

Some content is hidden

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

829 files changed

+26616
-36603
lines changed

.circleci/config.yml

Lines changed: 3 additions & 121 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ version: 2.1
33
executors:
44
node-browsers-small:
55
docker:
6-
- image: cimg/node:20.18-browsers
6+
- image: cimg/node:22.13-browsers
77
resource_class: small
88
environment:
99
NODE_OPTIONS: --max_old_space_size=2048
1010
node-browsers-medium:
1111
docker:
12-
- image: cimg/node:20.18-browsers
12+
- image: cimg/node:22.13-browsers
1313
resource_class: medium
1414
environment:
1515
NODE_OPTIONS: --max_old_space_size=3072
@@ -21,7 +21,7 @@ executors:
2121
NODE_OPTIONS: --max_old_space_size=6144
2222
node-browsers-medium-plus:
2323
docker:
24-
- image: cimg/node:20.18-browsers
24+
- image: cimg/node:22.13-browsers
2525
resource_class: medium+
2626
environment:
2727
NODE_OPTIONS: --max_old_space_size=4096
@@ -99,9 +99,6 @@ workflows:
9999
<<: *rc_branch_only
100100
requires:
101101
- prep-deps
102-
- trigger-beta-build:
103-
requires:
104-
- prep-deps
105102
- prep-deps
106103
- get-changed-files-with-git-diff:
107104
filters:
@@ -137,9 +134,6 @@ workflows:
137134
- prep-build-test-flask-mv2:
138135
requires:
139136
- prep-deps
140-
- prep-build-storybook:
141-
requires:
142-
- prep-deps
143137
- prep-build-ts-migration-dashboard:
144138
requires:
145139
- prep-deps
@@ -188,19 +182,12 @@ workflows:
188182
- /^Version-v(\d+)[.](\d+)[.](\d+)/
189183
requires:
190184
- prep-build
191-
- test-storybook:
192-
requires:
193-
- prep-deps
194-
- prep-build-storybook
195185
- validate-source-maps:
196186
requires:
197187
- prep-build
198188
- validate-source-maps-mv2:
199189
requires:
200190
- prep-build-mv2
201-
- validate-source-maps-beta:
202-
requires:
203-
- trigger-beta-build
204191
- validate-source-maps-flask:
205192
requires:
206193
- prep-build-flask
@@ -218,7 +205,6 @@ workflows:
218205
- all-tests-pass:
219206
requires:
220207
- validate-source-maps
221-
- validate-source-maps-beta
222208
- validate-source-maps-flask
223209
- test-mozilla-lint-mv2
224210
- test-mozilla-lint-flask-mv2
@@ -229,7 +215,6 @@ workflows:
229215
- test-e2e-firefox-flask
230216
- test-e2e-chrome-vault-decryption
231217
- test-e2e-chrome-webpack
232-
- test-storybook
233218
- benchmark:
234219
requires:
235220
- prep-build-test
@@ -250,8 +235,6 @@ workflows:
250235
- prep-build-test-mv2
251236
- prep-build-test-flask
252237
- prep-build-test-flask-mv2
253-
- trigger-beta-build
254-
- prep-build-storybook
255238
- prep-build-ts-migration-dashboard
256239
- benchmark
257240
- user-actions-benchmark
@@ -268,12 +251,6 @@ workflows:
268251
- prep-build-flask
269252
- prep-build-flask-mv2
270253
- all-tests-pass
271-
- job-publish-storybook:
272-
filters:
273-
branches:
274-
only: main
275-
requires:
276-
- prep-build-storybook
277254
- job-publish-ts-migration-dashboard:
278255
filters:
279256
branches:
@@ -316,35 +293,6 @@ workflows:
316293
- validate-locales-only
317294

318295
jobs:
319-
trigger-beta-build:
320-
executor: node-browsers-small
321-
steps:
322-
- run: *shallow-git-clone-and-enable-vnc
323-
- run: sudo corepack enable
324-
- attach_workspace:
325-
at: .
326-
- when:
327-
condition:
328-
not:
329-
matches:
330-
pattern: /^master$/
331-
value: << pipeline.git.branch >>
332-
steps:
333-
- run:
334-
name: Build beta prod
335-
command: .circleci/scripts/trigger-beta-build.sh
336-
- run:
337-
name: Move beta build to 'dist-beta' to avoid conflict with production build
338-
command: mv ./dist ./dist-beta
339-
- run:
340-
name: Move beta zips to 'builds-beta' to avoid conflict with production build
341-
command: mv ./builds ./builds-beta
342-
- persist_to_workspace:
343-
root: .
344-
paths:
345-
- dist-beta
346-
- builds-beta
347-
348296
create_release_pull_request:
349297
executor: node-browsers-medium
350298
steps:
@@ -700,21 +648,6 @@ jobs:
700648
paths:
701649
- dist-test-webpack
702650

703-
prep-build-storybook:
704-
executor: node-linux-medium
705-
steps:
706-
- run: *shallow-git-clone-and-enable-vnc
707-
- run: corepack enable
708-
- attach_workspace:
709-
at: .
710-
- run:
711-
name: Build Storybook
712-
command: yarn storybook:build
713-
- persist_to_workspace:
714-
root: .
715-
paths:
716-
- storybook-build
717-
718651
prep-build-ts-migration-dashboard:
719652
executor: node-browsers-small
720653
steps:
@@ -741,20 +674,6 @@ jobs:
741674
name: Rerun workflows from failed
742675
command: yarn ci-rerun-from-failed
743676

744-
test-storybook:
745-
executor: node-browsers-medium-plus
746-
steps:
747-
- run: *shallow-git-clone-and-enable-vnc
748-
- run: sudo corepack enable
749-
- attach_workspace:
750-
at: .
751-
- run:
752-
name: Install Playwright browsers
753-
command: yarn exec playwright install chromium
754-
- run:
755-
name: Test Storybook
756-
command: yarn test-storybook:ci
757-
758677
test-e2e-chrome-webpack:
759678
executor: node-browsers-medium-plus
760679
parallelism: 20
@@ -1089,25 +1008,18 @@ jobs:
10891008
- store_artifacts:
10901009
path: dist/sourcemaps
10911010
destination: builds/sourcemaps
1092-
- store_artifacts:
1093-
path: dist-beta/sourcemaps
1094-
destination: builds-beta/sourcemaps
10951011
- store_artifacts:
10961012
path: dist-flask/sourcemaps
10971013
destination: builds-flask/sourcemaps
10981014
- store_artifacts:
10991015
path: builds
11001016
destination: builds
1101-
- store_artifacts:
1102-
path: builds-beta
1103-
destination: builds-beta
11041017
- store_artifacts:
11051018
path: builds-flask
11061019
destination: builds-flask
11071020
- store_artifacts:
11081021
path: builds-flask-mv2
11091022
destination: builds-flask-mv2
1110-
11111023
- store_artifacts:
11121024
path: builds-mv2
11131025
destination: builds-mv2
@@ -1129,9 +1041,6 @@ jobs:
11291041
- store_artifacts:
11301042
path: build-artifacts
11311043
destination: build-artifacts
1132-
- store_artifacts:
1133-
path: storybook-build
1134-
destination: storybook
11351044
- store_artifacts:
11361045
path: development/ts-migration-dashboard/build/final
11371046
destination: ts-migration-dashboard
@@ -1159,22 +1068,6 @@ jobs:
11591068
name: Create GitHub release
11601069
command: .circleci/scripts/release-create-gh-release.sh
11611070

1162-
job-publish-storybook:
1163-
executor: node-browsers-small
1164-
steps:
1165-
- add_ssh_keys:
1166-
fingerprints:
1167-
- '3d:49:29:f4:b2:e8:ea:af:d1:32:eb:2a:fc:15:85:d8'
1168-
- run: *shallow-git-clone-and-enable-vnc
1169-
- run: sudo corepack enable
1170-
- attach_workspace:
1171-
at: .
1172-
- run:
1173-
name: storybook:deploy
1174-
command: |
1175-
git remote add storybook [email protected]:MetaMask/metamask-storybook.git
1176-
yarn storybook:deploy
1177-
11781071
job-publish-ts-migration-dashboard:
11791072
executor: node-browsers-small
11801073
steps:
@@ -1204,17 +1097,6 @@ jobs:
12041097
name: Validate source maps
12051098
command: yarn validate-source-maps
12061099

1207-
validate-source-maps-beta:
1208-
executor: node-browsers-small
1209-
steps:
1210-
- run: *shallow-git-clone-and-enable-vnc
1211-
- run: sudo corepack enable
1212-
- attach_workspace:
1213-
at: .
1214-
- run:
1215-
name: Validate source maps
1216-
command: .circleci/scripts/validate-source-maps-beta.sh
1217-
12181100
validate-source-maps-flask:
12191101
executor: node-browsers-small
12201102
steps:

.circleci/scripts/check-working-tree.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

.circleci/scripts/check_mmi_trigger.sh

Lines changed: 0 additions & 66 deletions
This file was deleted.

.circleci/scripts/trigger-beta-build.sh

Lines changed: 0 additions & 25 deletions
This file was deleted.

.circleci/scripts/validate-source-maps-beta.sh

Lines changed: 0 additions & 22 deletions
This file was deleted.

.depcheckrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ignores:
2424
- '@metamask/phishing-warning' # statically hosted as part of some e2e tests
2525
- '@metamask/test-dapp'
2626
- '@metamask/design-tokens' # Only imported in index.css
27-
- '@tsconfig/node20' # required dynamically by TS, used in tsconfig.json
27+
- '@tsconfig/node22' # required dynamically by TS, used in tsconfig.json
2828
- '@sentry/cli' # invoked as `sentry-cli`
2929
- 'chromedriver'
3030
- 'depcheck' # ooo meta

0 commit comments

Comments
 (0)