-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: suppress experimental warning for node 23 MONGOSH-1895 (#2258)
Co-authored-by: Anna Henningsen <[email protected]>
- Loading branch information
Showing
10 changed files
with
84 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: "Run Smoke Tests" | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
smoke-tests: | ||
name: "OS: ${{ matrix.runner }}, node@${{ matrix.node }}" | ||
strategy: | ||
matrix: | ||
runner: [ubuntu, macos, windows] | ||
node: [20.x, 22.x, 23.x] | ||
fail-fast: false | ||
runs-on: ${{ matrix.runner }}-latest | ||
timeout-minutes: 15 | ||
env: | ||
npm_config_loglevel: verbose | ||
npm_config_foreground_scripts: "true" | ||
PUPPETEER_SKIP_DOWNLOAD: "true" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
cache: "npm" | ||
|
||
- name: Install npm@10 | ||
run: npm install -g npm@10 | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Run smoke tests | ||
run: npx mongodb-runner exec -- sh -c 'env MONGOSH_SMOKE_TEST_SERVER=$MONGODB_URI npm run test-smoke' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
"author": "Compass Team <[email protected]>", | ||
"scripts": { | ||
"bootstrap-with-chromium": "npm install && npm run compile", | ||
"bootstrap": "npx cross-env PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 npm install && npm run compile", | ||
"bootstrap": "npx cross-env PUPPETEER_SKIP_DOWNLOAD=1 npm install && npm run compile", | ||
"clean": "lerna clean -y && rm -Rf node_modules", | ||
"check": "lerna run check --since HEAD --exclude-dependents", | ||
"check-ci": "npm run check --workspaces --if-present", | ||
|
@@ -26,6 +26,8 @@ | |
"test-evergreen-expansions": "bash .evergreen/compilation-context-expansions.test.sh", | ||
"replace-package": "node scripts/replace-package.js", | ||
"test-nodedriver": "bash .evergreen/test-node-driver.sh", | ||
"pretest-smoke": "npm run compile-cli", | ||
"test-smoke": "npm run test-smoke -w @mongosh/cli-repl", | ||
"compile": "npm run compile --workspaces --if-present", | ||
"compile-cli": "lerna run compile --scope @mongosh/cli-repl --include-dependencies", | ||
"prestart-cli": "npm run compile-cli", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters