Skip to content

fix: suppress experimental warning for node 23 MONGOSH-1895 #4

fix: suppress experimental warning for node 23 MONGOSH-1895

fix: suppress experimental warning for node 23 MONGOSH-1895 #4

Workflow file for this run

name: "Run Smoke Tests"
on:
push:
branches:
- main
pull_request:
schedule:
- cron: "0 0 * * *"
jobs:
smoke-tests:
strategy:
matrix:
runner: [ubuntu-latest, macos-latest, windows-latest]
node: [20.x, 22.x, 23.x]
fail-fast: false
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Get npm cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
- uses: actions/cache@v4
with:
key: ${{ matrix.runner }}-node-${{ matrix.node }}-${{ hashFiles('package-lock.json') }}
path: ${{ steps.npm-cache-dir.outputs.dir }}
- run: npm ci
- run: npm run test-smoke