File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -222,6 +222,25 @@ jobs:
222222 RELEASE_CHANNEL : experimental
223223 command : ./scripts/circleci/run_devtools_e2e_tests.js
224224
225+ run_devtools_tests_for_versions :
226+ docker : *docker
227+ environment : *environment
228+ parallelism : *TEST_PARALLELISM
229+ parameters :
230+ version :
231+ type : string
232+ steps :
233+ - checkout
234+ - attach_workspace :
235+ at : .
236+ - run : yarn workspaces info | head -n -1 > workspace_info.txt
237+ - *restore_node_modules
238+ - run :
239+ name : Install nested packages from Yarn cache
240+ command : yarn --frozen-lockfile --cache-folder ~/.cache/yarn
241+ - run : ./scripts/circleci/download_devtools_regression_build.js << parameters.version >>
242+ - run : node ./scripts/jest/jest-cli.js --build --project devtools --release-channel=experimental --reactVersion << parameters.version >> --ci
243+
225244 yarn_lint_build :
226245 docker : *docker
227246 environment : *environment
@@ -494,6 +513,36 @@ workflows:
494513 requires :
495514 - setup
496515
516+ devtools_regression_tests :
517+ unless : << pipeline.parameters.prerelease_commit_sha >>
518+ triggers :
519+ - schedule :
520+ # DevTools regression tests run hourly
521+ cron : " 0 * * * *"
522+ filters :
523+ branches :
524+ only :
525+ - main
526+ jobs :
527+ - setup
528+ - yarn_build_combined :
529+ requires :
530+ - setup
531+ - build_devtools_and_process_artifacts :
532+ requires :
533+ - yarn_build_combined
534+ - run_devtools_tests_for_versions :
535+ requires :
536+ - build_devtools_and_process_artifacts
537+ matrix :
538+ parameters :
539+ version :
540+ - " 16.0"
541+ - " 16.5" # schedule package
542+ - " 16.8" # hooks
543+ - " 17.0"
544+ - " 18.0"
545+
497546 # Used to publish a prerelease manually via the command line
498547 publish_preleases :
499548 when : << pipeline.parameters.prerelease_commit_sha >>
You can’t perform that action at this time.
0 commit comments