message: Add 10s wait before checking if npm version has been published
diff: @@ -7,6 +7,10 @@ const generateHomebrewFormula = require('./generate-homebrew-formula');
  const rootPath = path.resolve(__dirname, '..');
  +const wait = (ms = 1000) => {
  + return new Promise((resolve) => setTimeout(resolve, ms));
  +};
  +
  function requireSegmentApiKey() {
  const { MONGOSH_SEGMENT_API_KEY } = process.env;
  @@ -132,6 +136,9 @@ async function publish() {
  { cwd: cloneDirPath, stdio: 'inherit' }
  );
  + // Wait 10s to ensure the npm tags are updated after the publish.
  + await wait(10000);
  +
  const versionAfter = getLatestVersion();
  assert.notEqual(
  