@samitouri / QOS-React-2 / commits / baff3f2005

Move build_devtools_and_process_artifacts (#22388)

This is the last CI job that needs to be migrated to the new workflow.

Andrew Clark committed Sep 21, 2021 at 11:51 UTC baff3f2005f099f5d3c506d6d41ae977f41304f7
6 files changed +41 -18
.circleci/config.yml
+6 -13
@@ -213,9 +213,9 @@ jobs:
213 environment: *environment
214 steps:
215 - checkout
216 - - attach_workspace: *attach_workspace
216 + - attach_workspace:
217 + at: .
218 - run: yarn workspaces info | head -n -1 > workspace_info.txt
218 - - *restore_yarn_cache
219 - *restore_node_modules
220 - run:
221 name: Install Packages
@@ -344,17 +344,6 @@ jobs:
344 workflows:
345 version: 2
346
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 -
347 # New workflow that will replace "stable" and "experimental"
348 build_and_test:
349 unless: << pipeline.parameters.prerelease_commit_sha >>
@@ -451,6 +440,10 @@ workflows:
440 - RELEASE_CHANNEL_stable_yarn_test_dom_fixtures:
441 requires:
442 - yarn_build_combined
443 + - build_devtools_and_process_artifacts:
444 + requires:
445 + - yarn_build_combined
446 +
447 fuzz_tests:
448 unless: << pipeline.parameters.prerelease_commit_sha >>
449 triggers:
packages/react-devtools-core/webpack.backend.js
+7 -1
@@ -18,7 +18,13 @@ if (!NODE_ENV) {
18 process.exit(1);
19 }
20
21 -const builtModulesDir = resolve(__dirname, '..', '..', 'build', 'node_modules');
21 +const builtModulesDir = resolve(
22 + __dirname,
23 + '..',
24 + '..',
25 + 'build2',
26 + 'oss-experimental',
27 +);
28
29 const __DEV__ = NODE_ENV === 'development';
30
packages/react-devtools-core/webpack.standalone.js
+7 -1
@@ -18,7 +18,13 @@ if (!NODE_ENV) {
18 process.exit(1);
19 }
20
21 -const builtModulesDir = resolve(__dirname, '..', '..', 'build', 'node_modules');
21 +const builtModulesDir = resolve(
22 + __dirname,
23 + '..',
24 + '..',
25 + 'build2',
26 + 'oss-experimental',
27 +);
28
29 const __DEV__ = NODE_ENV === 'development';
30
packages/react-devtools-extensions/webpack.backend.js
+7 -1
@@ -20,7 +20,13 @@ if (!NODE_ENV) {
20 process.exit(1);
21 }
22
23 -const builtModulesDir = resolve(__dirname, '..', '..', 'build', 'node_modules');
23 +const builtModulesDir = resolve(
24 + __dirname,
25 + '..',
26 + '..',
27 + 'build2',
28 + 'oss-experimental',
29 +);
30
31 const __DEV__ = NODE_ENV === 'development';
32
packages/react-devtools-extensions/webpack.config.js
+7 -1
@@ -20,7 +20,13 @@ if (!NODE_ENV) {
20 process.exit(1);
21 }
22
23 -const builtModulesDir = resolve(__dirname, '..', '..', 'build', 'node_modules');
23 +const builtModulesDir = resolve(
24 + __dirname,
25 + '..',
26 + '..',
27 + 'build2',
28 + 'oss-experimental',
29 +);
30
31 const __DEV__ = NODE_ENV === 'development';
32
packages/react-devtools-shell/webpack.config.js
+7 -1
@@ -24,7 +24,13 @@ if (!TARGET) {
24 process.exit(1);
25 }
26
27 -const builtModulesDir = resolve(__dirname, '..', '..', 'build', 'node_modules');
27 +const builtModulesDir = resolve(
28 + __dirname,
29 + '..',
30 + '..',
31 + 'build2',
32 + 'oss-experimental',
33 +);
34
35 const __DEV__ = NODE_ENV === 'development';
36