Skip to content

Commit

Permalink
wip: Upgrade NodeJS to v20 and MongoDB to v7 (#884/#885)
Browse files Browse the repository at this point in the history
  • Loading branch information
claustres committed Jun 20, 2024
1 parent 5db4770 commit 9577f42
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [ 18, 20 ]
node: [ 18, 22 ]
mongo: [ 5, 6, 7 ]
name: Additional tests
if: ${{ contains(github.event.head_commit.message, 'additional tests') }}
Expand Down
4 changes: 2 additions & 2 deletions scripts/init_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ THIS_DIR=$(dirname "$THIS_FILE")
### Github Actions

init_github_run_tests() {
install_reqs age sops nvm node16 mongo4 cc_test_reporter
install_reqs age sops nvm node20 mongo7 cc_test_reporter
}

init_github_additional_tests() {
install_reqs age sops nvm node18 node20 mongo5 mongo6 mongo7
install_reqs age sops nvm node18 node22 mongo5 mongo6 mongo7
}

init_github_build_docs() {
Expand Down
4 changes: 2 additions & 2 deletions scripts/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ WORKSPACE_DIR="$(dirname "$ROOT_DIR")"
## Parse options
##

NODE_VER=16
MONGO_VER="4"
NODE_VER=20
MONGO_VER=7
CI_STEP_NAME="Run tests"
CODE_COVERAGE=false
while getopts "m:n:cr:" option; do
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup_workspace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ WORKSPACE_DIR="$(dirname "$ROOT_DIR")"
## Parse options
##

WORKSPACE_NODE=16
WORKSPACE_NODE=20
OPT_LIST="n:"

while getopts "$OPT_LIST" OPT; do
Expand Down

0 comments on commit 9577f42

Please sign in to comment.