File tree Expand file tree Collapse file tree 2 files changed +45
-42
lines changed Expand file tree Collapse file tree 2 files changed +45
-42
lines changed Original file line number Diff line number Diff line change 1- version : 2
1+ version : 2.1
2+
3+ orbs :
4+ win : circleci/windows@2.4.0
25
36aliases :
47 - &docker
@@ -48,6 +51,9 @@ aliases:
4851 paths :
4952 - bundle-sizes.json
5053
54+ - &ms_windows_environment
55+ JAVA_HOME : C:\Program Files\Java\jdk1.8.0
56+
5157jobs :
5258 setup :
5359 docker : *docker
@@ -464,6 +470,38 @@ jobs:
464470 RELEASE_CHANNEL : experimental
465471 command : yarn test-build-prod --maxWorkers=2
466472
473+ test_ms_windows :
474+ executor :
475+ name : win/default
476+ environment : *ms_windows_environment
477+ steps :
478+ - run :
479+ # Fix line endings in Windows.
480+ command : git config --global core.autocrlf input
481+ - checkout
482+ - restore_cache :
483+ keys :
484+ - v2-win-node-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }}
485+ - v2-win-node-{{ arch }}-{{ .Branch }}-
486+ - v2-win-node-{{ arch }}-
487+ - run :
488+ command : node --version
489+ - run :
490+ command : choco install yarn
491+ - *run_yarn
492+ - save_cache :
493+ key : v2-win-node-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }}
494+ paths :
495+ - C:\Users\circleci\AppData\Local\Yarn
496+ - run :
497+ command : yarn lint
498+ - run :
499+ command : yarn build
500+ - run :
501+ command : yarn test
502+ - run :
503+ command : yarn prettier
504+
467505workflows :
468506 version : 2
469507 stable :
@@ -578,3 +616,9 @@ workflows:
578616 - test_fuzz :
579617 requires :
580618 - setup
619+
620+ ms_windows :
621+ jobs :
622+ - test_ms_windows
623+
624+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments