Skip to content

Commit

Permalink
Move build_devtools_and_process_artifacts (facebook#22388)
Browse files Browse the repository at this point in the history
This is the last CI job that needs to be migrated to the new workflow.
  • Loading branch information
acdlite authored and zhengjitf committed Apr 15, 2022
1 parent 9819feb commit 720c91b
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 18 deletions.
19 changes: 6 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ jobs:
environment: *environment
steps:
- checkout
- attach_workspace: *attach_workspace
- attach_workspace:
at: .
- run: yarn workspaces info | head -n -1 > workspace_info.txt
- *restore_yarn_cache
- *restore_node_modules
- run:
name: Install Packages
Expand Down Expand Up @@ -344,17 +344,6 @@ jobs:
workflows:
version: 2

experimental:
unless: << pipeline.parameters.prerelease_commit_sha >>
jobs:
- setup
- yarn_build:
requires:
- setup
- build_devtools_and_process_artifacts:
requires:
- yarn_build

# New workflow that will replace "stable" and "experimental"
build_and_test:
unless: << pipeline.parameters.prerelease_commit_sha >>
Expand Down Expand Up @@ -451,6 +440,10 @@ workflows:
- RELEASE_CHANNEL_stable_yarn_test_dom_fixtures:
requires:
- yarn_build_combined
- build_devtools_and_process_artifacts:
requires:
- yarn_build_combined

fuzz_tests:
unless: << pipeline.parameters.prerelease_commit_sha >>
triggers:
Expand Down
8 changes: 7 additions & 1 deletion packages/react-devtools-core/webpack.backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ if (!NODE_ENV) {
process.exit(1);
}

const builtModulesDir = resolve(__dirname, '..', '..', 'build', 'node_modules');
const builtModulesDir = resolve(
__dirname,
'..',
'..',
'build2',
'oss-experimental',
);

const __DEV__ = NODE_ENV === 'development';

Expand Down
8 changes: 7 additions & 1 deletion packages/react-devtools-core/webpack.standalone.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ if (!NODE_ENV) {
process.exit(1);
}

const builtModulesDir = resolve(__dirname, '..', '..', 'build', 'node_modules');
const builtModulesDir = resolve(
__dirname,
'..',
'..',
'build2',
'oss-experimental',
);

const __DEV__ = NODE_ENV === 'development';

Expand Down
8 changes: 7 additions & 1 deletion packages/react-devtools-extensions/webpack.backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ if (!NODE_ENV) {
process.exit(1);
}

const builtModulesDir = resolve(__dirname, '..', '..', 'build', 'node_modules');
const builtModulesDir = resolve(
__dirname,
'..',
'..',
'build2',
'oss-experimental',
);

const __DEV__ = NODE_ENV === 'development';

Expand Down
8 changes: 7 additions & 1 deletion packages/react-devtools-extensions/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ if (!NODE_ENV) {
process.exit(1);
}

const builtModulesDir = resolve(__dirname, '..', '..', 'build', 'node_modules');
const builtModulesDir = resolve(
__dirname,
'..',
'..',
'build2',
'oss-experimental',
);

const __DEV__ = NODE_ENV === 'development';

Expand Down
8 changes: 7 additions & 1 deletion packages/react-devtools-shell/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@ if (!TARGET) {
process.exit(1);
}

const builtModulesDir = resolve(__dirname, '..', '..', 'build', 'node_modules');
const builtModulesDir = resolve(
__dirname,
'..',
'..',
'build2',
'oss-experimental',
);

const __DEV__ = NODE_ENV === 'development';

Expand Down

0 comments on commit 720c91b

Please sign in to comment.