@@ -658,71 +658,6 @@ jobs:
658658 -scheme RNTester-visionOS \
659659 -sdk xrsimulator
660660
661- # -------------------------
662- # JOBS: Windows
663- # -------------------------
664- test_windows :
665- executor :
666- name : win/default
667- environment :
668- - CHOCO_CACHE_DIR : " C:\\ ChocoCache"
669- steps :
670- - checkout_code_with_cache
671-
672- - restore_cache :
673- keys :
674- - *windows_choco_cache_key
675-
676- - run :
677- name : Choco cache
678- # Cache our dependencies which can be flakey to download
679- command : |
680- if (!Test-Path $env:CHOCO_CACHE_DIR) {
681- mkdir $env:CHOCO_CACHE_DIR
682- }
683- choco config set --name cacheLocation --value $env:CHOCO_CACHE_DIR
684-
685- - run :
686- name : Disable NVM
687- # Use choco to manage node versions due to https://github.com/npm/cli/issues/4234
688- command : nvm off
689-
690- - run :
691- name : Install Node JS
692- # Note: Version set separately for non-Windows builds, see above.
693- command : choco install nodejs --version=18.18.0 --allow-downgrade -y
694-
695- # Setup Dependencies
696- - run :
697- name : Enable Yarn with corepack
698- command : corepack enable
699-
700- - restore_cache :
701- keys :
702- - *windows_yarn_cache_key
703- - run :
704- name : " Yarn: Install Dependencies"
705- command : yarn install --frozen-lockfile --non-interactive
706-
707- - save_cache :
708- key : *windows_yarn_cache_key
709- paths :
710- - C:\Users\circleci\AppData\Local\Yarn
711-
712- - save_cache :
713- key : *windows_choco_cache_key
714- paths :
715- - $env:CHOCO_CACHE_DIR
716-
717- # -------------------------
718- # Run Tests
719- - run :
720- name : " Flow Check"
721- command : yarn flow-check
722- - run :
723- name : " Run Tests: JavaScript Tests"
724- command : yarn test
725-
726661 # -------------------------
727662 # JOBS: Build Hermes
728663 # -------------------------
0 commit comments