Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion .evergreen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,21 @@ functions:
type: system
params:
directory: src

checkout_writeable:
- command: github.generate_token
params:
expansion_name: generated_github_token
owner: mongodb-js
repo: mongosh
permissions:
contents: write
- command: git.get_project
type: system
params:
directory: src
token: ${generated_github_token}

compile_ts:
- command: expansions.write
type: system
Expand Down Expand Up @@ -9690,7 +9705,7 @@ tasks:
- name: compile_ts
variant: linux_compile
commands:
- func: checkout
- func: checkout_writeable
- func: install
vars:
node_js_version: "20.18.3"
Expand Down
17 changes: 16 additions & 1 deletion .evergreen/evergreen.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,21 @@ functions:
type: system
params:
directory: src

checkout_writeable:
- command: github.generate_token
params:
expansion_name: generated_github_token
owner: mongodb-js
repo: mongosh
permissions:
contents: write
- command: git.get_project
type: system
params:
directory: src
token: ${generated_github_token}

compile_ts:
- command: expansions.write
type: system
Expand Down Expand Up @@ -1467,7 +1482,7 @@ tasks:
- name: compile_ts
variant: linux_compile
commands:
- func: checkout
- func: checkout_writeable
- func: install
vars:
node_js_version: "<% out(NODE_JS_VERSION_20) %>"
Expand Down
Loading