File tree Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -723,6 +723,16 @@ functions:
723
723
args :
724
724
- .evergreen/docker/alpine.sh
725
725
726
+ " build documentation " :
727
+ - command : subprocess.exec
728
+ type : test
729
+ params :
730
+ working_dir : " src"
731
+ binary : bash
732
+ args :
733
+ - " -c"
734
+ - " npm run build:docs -- --yes"
735
+
726
736
tasks :
727
737
- name : " test-atlas-data-lake"
728
738
tags : ["datalake", "mongohouse"]
Original file line number Diff line number Diff line change @@ -658,6 +658,15 @@ functions:
658
658
add_expansions_to_env : true
659
659
args :
660
660
- .evergreen/docker/alpine.sh
661
+ build documentation :
662
+ - command : subprocess.exec
663
+ type : test
664
+ params :
665
+ working_dir : src
666
+ binary : bash
667
+ args :
668
+ - ' -c'
669
+ - npm run build:docs -- --yes
661
670
tasks :
662
671
- name : test-atlas-data-lake
663
672
tags :
@@ -2038,6 +2047,17 @@ tasks:
2038
2047
- func : install dependencies
2039
2048
- func : bootstrap mongo-orchestration
2040
2049
- func : check resource management feature integration
2050
+ - name : test-build-docs
2051
+ tags :
2052
+ - lint-checks
2053
+ commands :
2054
+ - command : expansions.update
2055
+ type : setup
2056
+ params :
2057
+ updates :
2058
+ - {key: NODE_LTS_VERSION, value: '22'}
2059
+ - func : install dependencies
2060
+ - func : build documentation
2041
2061
- name : check-types-typescript-next-node-types-22.15.3
2042
2062
tags :
2043
2063
- check-types-typescript-next
Original file line number Diff line number Diff line change @@ -571,6 +571,17 @@ SINGLETON_TASKS.push(
571
571
{ func : 'check resource management feature integration' }
572
572
]
573
573
} ,
574
+ {
575
+ name : 'test-build-docs' ,
576
+ tags : [ 'lint-checks' ] ,
577
+ commands : [
578
+ updateExpansions ( {
579
+ NODE_LTS_VERSION : LATEST_LTS
580
+ } ) ,
581
+ { func : 'install dependencies' } ,
582
+ { func : 'build documentation' }
583
+ ]
584
+ } ,
574
585
...Array . from ( makeTypescriptTasks ( ) )
575
586
]
576
587
) ;
You can’t perform that action at this time.
0 commit comments