Skip to content

Add basic test for mongocompat snippet #1

Add basic test for mongocompat snippet

Add basic test for mongocompat snippet #1

Workflow file for this run

name: Test
on:
pull_request:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: read # we just need to checkout the repo
jobs:
check-and-test:
name: Check and Test
timeout-minutes: 45
strategy:
matrix:
os: [ubuntu-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 24.x
cache: "npm"
- name: Install Dependencies
run: |
npm ci
npx lerna bootstrap
shell: bash
- name: Run Tests
run: npm run test -- --stream
shell: bash