Skip to content

Commit 88373ba

Browse files
changes
1 parent 2f67139 commit 88373ba

File tree

3 files changed

+41
-0
lines changed

3 files changed

+41
-0
lines changed

.evergreen/config.in.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,16 @@ functions:
723723
args:
724724
- .evergreen/docker/alpine.sh
725725

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+
726736
tasks:
727737
- name: "test-atlas-data-lake"
728738
tags: ["datalake", "mongohouse"]

.evergreen/config.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,15 @@ functions:
658658
add_expansions_to_env: true
659659
args:
660660
- .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
661670
tasks:
662671
- name: test-atlas-data-lake
663672
tags:
@@ -2038,6 +2047,17 @@ tasks:
20382047
- func: install dependencies
20392048
- func: bootstrap mongo-orchestration
20402049
- 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
20412061
- name: check-types-typescript-next-node-types-22.15.3
20422062
tags:
20432063
- check-types-typescript-next

.evergreen/generate_evergreen_tasks.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,17 @@ SINGLETON_TASKS.push(
571571
{ func: 'check resource management feature integration' }
572572
]
573573
},
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+
},
574585
...Array.from(makeTypescriptTasks())
575586
]
576587
);

0 commit comments

Comments
 (0)