[circleci] Remove build_and_test workflow
Now that we've fully migrated the PR CI workflow (build_and_test) to GH, we can fully delete the workflow altogether. This will break https://react-builds.vercel.app/ unfortunately but I'll wait for acdlite to come back from vacation and work with him to fix it. The remaining jobs in circleci are for publishing prereleases of React to npm. I'll work on migrating those next. ghstack-source-id: 05f346829f47970592ce855340e02b37285635db Pull Request resolved: https://github.com/facebook/react/pull/30480
Lauren Tan committed
Jul 26, 2024 at 11:55 UTC
c5f3a6f42f7f42bf179c8072d90bef8842f2ce99
1 file changed
-47
.circleci/config.yml
-47
@@ -48,40 +48,6 @@ parameters:
48
default: ''
49
50
jobs:
51
- yarn_build:
52
- docker: *docker
53
- environment: *environment
54
- parallelism: 40
55
- steps:
56
- - checkout
57
- - setup_node_modules
58
- - run: yarn build --ci=circleci
59
- - persist_to_workspace:
60
- root: .
61
- paths:
62
- - build
63
-
64
- process_artifacts_combined:
65
- docker: *docker
66
- environment: *environment
67
- steps:
68
- - checkout
69
- - attach_workspace:
70
- at: .
71
- - setup_node_modules
72
- - run: echo "<< pipeline.git.revision >>" >> build/COMMIT_SHA
73
- - run: |
74
- mkdir -p ./build/__test_utils__
75
- node ./scripts/print-warnings/print-warnings.js > build/__test_utils__/ReactAllWarnings.js
76
- # Compress build directory into a single tarball for easy download
77
- - run: tar -zcvf ./build.tgz ./build
78
- # TODO: Migrate scripts to use `build` directory instead of `build2`
79
- - run: cp ./build.tgz ./build2.tgz
80
- - store_artifacts:
81
- path: ./build2.tgz
82
- - store_artifacts:
83
- path: ./build.tgz
84
-
51
publish_prerelease:
52
parameters:
53
commit_sha:
@@ -105,19 +71,6 @@ jobs:
71
scripts/release/publish.js --ci --tags << parameters.dist_tag >>
72
73
workflows:
108
-
109
- build_and_test:
110
- unless: << pipeline.parameters.prerelease_commit_sha >>
111
- jobs:
112
- - yarn_build:
113
- filters:
114
- branches:
115
- ignore:
116
- - builds/facebook-www
117
- - process_artifacts_combined:
118
- requires:
119
- - yarn_build
120
-
74
# Used to publish a prerelease manually via the command line
75
publish_preleases:
76
when: << pipeline.parameters.prerelease_commit_sha >>