Skip to content

Commit baff3f2

Browse files
authored
Move build_devtools_and_process_artifacts (#22388)
This is the last CI job that needs to be migrated to the new workflow.
1 parent 7c60496 commit baff3f2

File tree

6 files changed

+41
-18
lines changed

6 files changed

+41
-18
lines changed

.circleci/config.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,9 @@ jobs:
213213
environment: *environment
214214
steps:
215215
- checkout
216-
- attach_workspace: *attach_workspace
216+
- attach_workspace:
217+
at: .
217218
- run: yarn workspaces info | head -n -1 > workspace_info.txt
218-
- *restore_yarn_cache
219219
- *restore_node_modules
220220
- run:
221221
name: Install Packages
@@ -344,17 +344,6 @@ jobs:
344344
workflows:
345345
version: 2
346346

347-
experimental:
348-
unless: << pipeline.parameters.prerelease_commit_sha >>
349-
jobs:
350-
- setup
351-
- yarn_build:
352-
requires:
353-
- setup
354-
- build_devtools_and_process_artifacts:
355-
requires:
356-
- yarn_build
357-
358347
# New workflow that will replace "stable" and "experimental"
359348
build_and_test:
360349
unless: << pipeline.parameters.prerelease_commit_sha >>
@@ -451,6 +440,10 @@ workflows:
451440
- RELEASE_CHANNEL_stable_yarn_test_dom_fixtures:
452441
requires:
453442
- yarn_build_combined
443+
- build_devtools_and_process_artifacts:
444+
requires:
445+
- yarn_build_combined
446+
454447
fuzz_tests:
455448
unless: << pipeline.parameters.prerelease_commit_sha >>
456449
triggers:

packages/react-devtools-core/webpack.backend.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@ if (!NODE_ENV) {
1818
process.exit(1);
1919
}
2020

21-
const builtModulesDir = resolve(__dirname, '..', '..', 'build', 'node_modules');
21+
const builtModulesDir = resolve(
22+
__dirname,
23+
'..',
24+
'..',
25+
'build2',
26+
'oss-experimental',
27+
);
2228

2329
const __DEV__ = NODE_ENV === 'development';
2430

packages/react-devtools-core/webpack.standalone.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@ if (!NODE_ENV) {
1818
process.exit(1);
1919
}
2020

21-
const builtModulesDir = resolve(__dirname, '..', '..', 'build', 'node_modules');
21+
const builtModulesDir = resolve(
22+
__dirname,
23+
'..',
24+
'..',
25+
'build2',
26+
'oss-experimental',
27+
);
2228

2329
const __DEV__ = NODE_ENV === 'development';
2430

packages/react-devtools-extensions/webpack.backend.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,13 @@ if (!NODE_ENV) {
2020
process.exit(1);
2121
}
2222

23-
const builtModulesDir = resolve(__dirname, '..', '..', 'build', 'node_modules');
23+
const builtModulesDir = resolve(
24+
__dirname,
25+
'..',
26+
'..',
27+
'build2',
28+
'oss-experimental',
29+
);
2430

2531
const __DEV__ = NODE_ENV === 'development';
2632

packages/react-devtools-extensions/webpack.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,13 @@ if (!NODE_ENV) {
2020
process.exit(1);
2121
}
2222

23-
const builtModulesDir = resolve(__dirname, '..', '..', 'build', 'node_modules');
23+
const builtModulesDir = resolve(
24+
__dirname,
25+
'..',
26+
'..',
27+
'build2',
28+
'oss-experimental',
29+
);
2430

2531
const __DEV__ = NODE_ENV === 'development';
2632

packages/react-devtools-shell/webpack.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,13 @@ if (!TARGET) {
2424
process.exit(1);
2525
}
2626

27-
const builtModulesDir = resolve(__dirname, '..', '..', 'build', 'node_modules');
27+
const builtModulesDir = resolve(
28+
__dirname,
29+
'..',
30+
'..',
31+
'build2',
32+
'oss-experimental',
33+
);
2834

2935
const __DEV__ = NODE_ENV === 'development';
3036

0 commit comments

Comments
 (0)