Skip to content

Commit

Permalink
Test macos-15
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Nov 5, 2024
1 parent 4d6b9ec commit d228e94
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,8 @@ if (!['7.0', '6.0', '5.0'].includes(mongoVersion)) {
}

if (process.platform == 'darwin') {
if (mongoVersion != '5.0' || image == 'macos13' || image == 'macos14') {
if (image == 'macos13' || image == 'macos14') {
run(`brew tap mongodb/brew`);
} else {
// remove previous version
run(`brew unlink mongodb-community@5.0`);
}

// install new version
run(`brew install mongodb-community@${mongoVersion}`);
}
run(`brew tap mongodb/brew`);
run(`brew install mongodb-community@${mongoVersion}`);

// start
const prefix = process.arch == 'arm64' ? '/opt/homebrew' : '/usr/local';
Expand Down

0 comments on commit d228e94

Please sign in to comment.